aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/sndfile/decoder_sndfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/sndfile/decoder_sndfile.h')
-rw-r--r--src/plugins/Input/sndfile/decoder_sndfile.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/Input/sndfile/decoder_sndfile.h b/src/plugins/Input/sndfile/decoder_sndfile.h
index 9a66acd3d..e221065f2 100644
--- a/src/plugins/Input/sndfile/decoder_sndfile.h
+++ b/src/plugins/Input/sndfile/decoder_sndfile.h
@@ -30,13 +30,13 @@ extern "C"{
class DecoderSndFile : public Decoder
{
public:
- DecoderSndFile(QObject *, DecoderFactory *, QIODevice *, Output *);
+ DecoderSndFile(QObject *, DecoderFactory *, Output *, const QString &);
virtual ~DecoderSndFile();
// Standard Decoder API
bool initialize();
- double lengthInSeconds();
- void seek(double);
+ qint64 lengthInSeconds();
+ void seek(qint64);
void stop();
@@ -58,8 +58,9 @@ private:
bool m_done, m_finish, m_inited, m_user_stop;
long m_freq, m_bitrate;
int m_chan;
- unsigned long m_output_size;
- double m_totalTime, m_seekTime;
+ qint64 m_output_size;
+ qint64 m_totalTime, m_seekTime;
+ QString m_path;
};