diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-07-10 17:33:17 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-07-10 17:33:17 +0000 |
| commit | d875270150b521ff84f9371248b0afaa88abe0e8 (patch) | |
| tree | 5e2f76186763b5915c49d453139a020e45ce3c76 /src/plugins/Input/vorbis/decoder_vorbis.h | |
| parent | 193585f35414ef95a09f6dbd0e3e040c090950ca (diff) | |
| download | qmmp-d875270150b521ff84f9371248b0afaa88abe0e8.tar.gz qmmp-d875270150b521ff84f9371248b0afaa88abe0e8.tar.bz2 qmmp-d875270150b521ff84f9371248b0afaa88abe0e8.zip | |
new decoder api, disabled broken plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1016 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/vorbis/decoder_vorbis.h')
| -rw-r--r-- | src/plugins/Input/vorbis/decoder_vorbis.h | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/src/plugins/Input/vorbis/decoder_vorbis.h b/src/plugins/Input/vorbis/decoder_vorbis.h index ec1158f31..b20b26ab7 100644 --- a/src/plugins/Input/vorbis/decoder_vorbis.h +++ b/src/plugins/Input/vorbis/decoder_vorbis.h @@ -21,42 +21,23 @@ public: // Standard Decoder API bool initialize(); qint64 totalTime(); - void seek(qint64); - void stop(); - - // Equalizer - bool isEQSupported() const { return FALSE; } - void setEQEnabled(bool) { ; } - void setEQGain(int) { ; } - void setEQBands(int[10]) { ; } - + int bitrate(); private: - // thread run function - void run(); + virtual qint64 readAudio(char *data, qint64 maxSize); + void seekAudio(qint64 time); // helper functions - void flush(bool = FALSE); void deinit(); - void updateTags(); - bool inited, user_stop; - int stat; - - // output buffer - char *output_buf; - ulong output_bytes, output_at; - // OggVorbis Decoder OggVorbis_File oggfile; - - unsigned int bks; - bool done, m_finish; - long len, freq, bitrate; - int chan; - qint64 output_size; - qint64 m_totalTime, seekTime; + qint64 m_totalTime; + long len; + int m_section, m_last_section; + int m_bitrate; + bool inited; }; |
