From 5c251c8ea5da34006d5f137e441b7b27564ca871 Mon Sep 17 00:00:00 2001 From: LarsAC Date: Fri, 7 Jan 2005 18:43:03 +0000 Subject: Merged branch osd_extensions back to main trunk git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@324 e10066b5-e1e2-0310-b819-94efdf66514b --- muggle-plugin/vdr_decoder_ogg.h | 49 ++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 25 deletions(-) (limited to 'muggle-plugin/vdr_decoder_ogg.h') diff --git a/muggle-plugin/vdr_decoder_ogg.h b/muggle-plugin/vdr_decoder_ogg.h index d249ab2..1f5fcfc 100644 --- a/muggle-plugin/vdr_decoder_ogg.h +++ b/muggle-plugin/vdr_decoder_ogg.h @@ -1,9 +1,9 @@ /*! \file vdr_decoder_ogg.h * \ingroup vdr - * + * * The file contains a decoder which is used by the player to decode ogg vorbis audio files. * - * Adapted from + * Adapted from * MP3/MPlayer plugin to VDR (C++) * (C) 2001-2003 Stefan Huelswitt */ @@ -22,43 +22,42 @@ class mgOggFile; -/*! +/*! * \brief A decoder for Ogg Vorbis files * */ -class mgOggDecoder : public mgDecoder +class mgOggDecoder:public mgDecoder { - private: + private: - mgOggFile *m_file; - struct mgDecode m_ds; - struct mad_pcm *m_pcm; - unsigned long long m_index; + mgOggFile * m_file; + struct mgDecode m_ds; + struct mad_pcm *m_pcm; + unsigned long long m_index; - // - void init(void); - bool clean(void); - struct mgDecode *done( eDecodeStatus status ); +// + void init (void); + bool clean (void); + struct mgDecode *done (eDecodeStatus status); - public: + public: - mgOggDecoder( mgContentItem *item ); - ~mgOggDecoder(); + mgOggDecoder (mgContentItem * item); + ~mgOggDecoder (); - virtual mgPlayInfo *playInfo(); + virtual mgPlayInfo *playInfo (); - virtual bool valid(); + virtual bool valid (); - virtual bool start(); + virtual bool start (); - virtual bool stop(); + virtual bool stop (); - virtual bool skip(int Seconds, int Avail, int Rate); + virtual bool skip (int Seconds, int Avail, int Rate); - virtual struct mgDecode *decode(void); + virtual struct mgDecode *decode (void); }; // ---------------------------------------------------------------- - -#endif //HAVE_VORBISFILE -#endif //___DECODER_OGG_H +#endif //HAVE_VORBISFILE +#endif //___DECODER_OGG_H -- cgit v1.2.3