diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-10-12 19:48:39 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-10-12 19:48:39 +0000 |
| commit | e48a196c880d9f92804c6e1e3ea5631ae2017dd1 (patch) | |
| tree | 6767f170f669cdfaea23e469050c05ad1f6c67ca /src/plugins/Input/wavpack/decoder_wavpack.h | |
| parent | 0a74e1c0e3781afe041ba9acc361461cc3ebda82 (diff) | |
| download | qmmp-e48a196c880d9f92804c6e1e3ea5631ae2017dd1.tar.gz qmmp-e48a196c880d9f92804c6e1e3ea5631ae2017dd1.tar.bz2 qmmp-e48a196c880d9f92804c6e1e3ea5631ae2017dd1.zip | |
enabled all input plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@581 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/wavpack/decoder_wavpack.h')
| -rw-r--r-- | src/plugins/Input/wavpack/decoder_wavpack.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/Input/wavpack/decoder_wavpack.h b/src/plugins/Input/wavpack/decoder_wavpack.h index eb3402160..36f5fc4f8 100644 --- a/src/plugins/Input/wavpack/decoder_wavpack.h +++ b/src/plugins/Input/wavpack/decoder_wavpack.h @@ -31,13 +31,13 @@ extern "C"{ class DecoderWavPack : public Decoder { public: - DecoderWavPack(QObject *, DecoderFactory *, QIODevice *, Output *); + DecoderWavPack(QObject *, DecoderFactory *, Output *, const QString &); virtual ~DecoderWavPack(); // Standard Decoder API bool initialize(); - double lengthInSeconds(); - void seek(double); + qint64 lengthInSeconds(); + void seek(qint64); void stop(); private: @@ -53,14 +53,15 @@ private: // output buffer char *m_output_buf; - ulong m_output_bytes, m_output_at; + qint64 m_output_bytes, m_output_at; unsigned int m_bks; //block size bool m_done, m_finish; long m_freq, m_bitrate; int m_chan; unsigned long m_output_size; - double m_totalTime, m_seekTime; + qint64 m_totalTime, m_seekTime; + QString m_path; }; |
