summaryrefslogtreecommitdiff
path: root/vdr_decoder_ogg.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdr_decoder_ogg.h')
-rw-r--r--vdr_decoder_ogg.h49
1 files changed, 24 insertions, 25 deletions
diff --git a/vdr_decoder_ogg.h b/vdr_decoder_ogg.h
index d249ab2..1f5fcfc 100644
--- a/vdr_decoder_ogg.h
+++ b/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 <huels@iname.com>
*/
@@ -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