diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-07-20 09:07:02 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-07-20 09:07:02 +0000 |
| commit | 7cfd365a457fe6bf7e9981f521cc51a64bfee66d (patch) | |
| tree | 15ff3d78c78086c142dd7e6562677e0b329a114f /src/plugins/Input/flac/decoder_flac.h | |
| parent | 934373ccc87d3ca64206902528749fcf7ad01b4e (diff) | |
| download | qmmp-7cfd365a457fe6bf7e9981f521cc51a64bfee66d.tar.gz qmmp-7cfd365a457fe6bf7e9981f521cc51a64bfee66d.tar.bz2 qmmp-7cfd365a457fe6bf7e9981f521cc51a64bfee66d.zip | |
flac plugin: fixed cue support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1049 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac/decoder_flac.h')
| -rw-r--r-- | src/plugins/Input/flac/decoder_flac.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/Input/flac/decoder_flac.h b/src/plugins/Input/flac/decoder_flac.h index 75f0d84cf..9d60860c2 100644 --- a/src/plugins/Input/flac/decoder_flac.h +++ b/src/plugins/Input/flac/decoder_flac.h @@ -30,6 +30,8 @@ #define SAMPLES_PER_WRITE 512 #define SAMPLE_BUFFER_SIZE ((FLAC__MAX_BLOCK_SIZE + SAMPLES_PER_WRITE) * MAX_SUPPORTED_CHANNELS * (32/8)) +class CUEParser; + struct flac_data { //FLAC__SeekableStreamDecoder *decoder; @@ -58,6 +60,7 @@ struct flac_data class DecoderFLAC : public Decoder { +Q_OBJECT public: DecoderFLAC(QObject *, DecoderFactory *, QIODevice *, Output *, const QString &path); virtual ~DecoderFLAC(); @@ -72,6 +75,8 @@ public: return m_data; } +private slots: + void processFinish(); private: // Standard Decoder API @@ -90,6 +95,8 @@ private: qint64 m_offset; qint64 m_length; bool inited; + CUEParser *m_cue_parser; + QString m_nextUrl; }; |
