From 7cfd365a457fe6bf7e9981f521cc51a64bfee66d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 20 Jul 2009 09:07:02 +0000 Subject: 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 --- src/plugins/Input/flac/decoder_flac.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/plugins/Input/flac/decoder_flac.h') 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; }; -- cgit v1.2.3-13-gbd6f