From a3e55825c3f38ae1bc5e67584a7f37955de3fb87 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 27 Nov 2008 23:09:03 +0000 Subject: flac plugin: embeded cue support (using cuesheet xiph comment) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@643 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/decoder_flac.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (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 8431a4555..cef0cd561 100644 --- a/src/plugins/Input/flac/decoder_flac.h +++ b/src/plugins/Input/flac/decoder_flac.h @@ -53,12 +53,13 @@ struct flac_data int ok; /* was this stream successfully opened? */ //struct decoder_error error; + QIODevice *input; }; class DecoderFLAC : public Decoder { public: - DecoderFLAC(QObject *, DecoderFactory *, QIODevice *, Output *); + DecoderFLAC(QObject *, DecoderFactory *, QIODevice *, Output *, const QString &path); virtual ~DecoderFLAC(); // Standard Decoder API @@ -98,6 +99,10 @@ private: int chan; unsigned long output_size; double totalTime, seekTime; + QString m_path; + qint64 m_offset; + qint64 m_length; + bool m_cue; }; -- cgit v1.2.3-13-gbd6f