2 * MP3/MPlayer plugin to VDR (C++)
4 * (C) 2001-2010 Stefan Huelswitt <s.huelswitt@gmx.de>
6 * OGG stream support initialy developed by Manuel Reimer <manuel.reimer@gmx.de>
8 * This code is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * This code is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
24 #ifndef ___DECODER_OGG_STREAM_H
25 #define ___DECODER_OGG_STREAM_H
27 #define DEC_OGGS DEC_ID('O','G','G','S')
28 #define DEC_OGGS_STR "OGGS"
30 #ifdef HAVE_VORBISFILE
32 #include "decoder-ogg.h"
36 // ----------------------------------------------------------------
38 class cNetOggFile : public cOggFile {
39 friend class cNetOggInfo;
43 cNetOggFile(const char *Filename);
44 virtual bool Open(bool log=true);
47 // ----------------------------------------------------------------
49 class cNetOggInfo : public cOggInfo {
55 cNetOggInfo(cNetOggFile *File);
56 virtual bool DoScan(bool KeepOpen=false);
57 virtual void InfoHook(void);
60 // ----------------------------------------------------------------
62 class cOggStreamDecoder : public cOggDecoder {
66 cOggStreamDecoder(const char *Filename);
67 virtual bool IsStream(void) { return true; }
70 #endif //HAVE_VORBISFILE
71 #endif //___DECODER_OGG_STREAM_H