aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/wavpack/decoder_wavpack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/wavpack/decoder_wavpack.h')
-rw-r--r--src/plugins/Input/wavpack/decoder_wavpack.h11
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;
};