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/modplug/decoder_modplug.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/plugins/Input/modplug/decoder_modplug.h') diff --git a/src/plugins/Input/modplug/decoder_modplug.h b/src/plugins/Input/modplug/decoder_modplug.h index 4883c3b09..71f082c4a 100644 --- a/src/plugins/Input/modplug/decoder_modplug.h +++ b/src/plugins/Input/modplug/decoder_modplug.h @@ -28,13 +28,13 @@ class CSoundFile; class DecoderModPlug : public Decoder { public: - DecoderModPlug(QObject *, DecoderFactory *, QIODevice *, Output *); + DecoderModPlug(QObject *, DecoderFactory *, Output *, const QString &path); virtual ~DecoderModPlug(); // Standard Decoder API bool initialize(); - double lengthInSeconds(); - void seek(double); + qint64 lengthInSeconds(); + void seek(qint64); void stop(); void readSettings(); @@ -68,9 +68,10 @@ private: long m_freq, m_bitrate; int m_chan, m_sampleSize; unsigned long m_output_size; - double m_totalTime, m_seekTime; + qint64 m_totalTime, m_seekTime; double m_preampFactor; bool m_usePreamp; + QString m_path; static DecoderModPlug* m_instance; }; -- cgit v1.2.3-13-gbd6f