From e48a196c880d9f92804c6e1e3ea5631ae2017dd1 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 12 Oct 2008 19:48:39 +0000 Subject: enabled all input plugins git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@581 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/wavpack/decoder_wavpack.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/plugins/Input/wavpack/decoder_wavpack.h') 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; }; -- cgit v1.2.3-13-gbd6f