diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-27 23:09:03 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-27 23:09:03 +0000 |
| commit | a3e55825c3f38ae1bc5e67584a7f37955de3fb87 (patch) | |
| tree | b695b742e08b3cc735827c1eb389fe1eb702b39a /src/plugins/Input/flac/decoder_flac.h | |
| parent | dc8dac141f57b50a9316131c8491e72b488a2d2c (diff) | |
| download | qmmp-a3e55825c3f38ae1bc5e67584a7f37955de3fb87.tar.gz qmmp-a3e55825c3f38ae1bc5e67584a7f37955de3fb87.tar.bz2 qmmp-a3e55825c3f38ae1bc5e67584a7f37955de3fb87.zip | |
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
Diffstat (limited to 'src/plugins/Input/flac/decoder_flac.h')
| -rw-r--r-- | src/plugins/Input/flac/decoder_flac.h | 7 |
1 files changed, 6 insertions, 1 deletions
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; }; |
