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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Input/sndfile/decoder_sndfile.h b/src/plugins/Input/sndfile/decoder_sndfile.h
index 9b1bb6fb0..5c00e616f 100644
--- a/src/plugins/Input/sndfile/decoder_sndfile.h
+++ b/src/plugins/Input/sndfile/decoder_sndfile.h
@@ -30,17 +30,17 @@ extern "C"{
class DecoderSndFile : public Decoder
{
public:
- DecoderSndFile(QObject *, DecoderFactory *, Output *, const QString &);
+ DecoderSndFile(const QString &path);
virtual ~DecoderSndFile();
// Standard Decoder API
bool initialize();
qint64 totalTime();
int bitrate();
+ qint64 read(char *audio, qint64 maxSize);
+ void seek(qint64 time);
private:
- qint64 readAudio(char *audio, qint64 maxSize);
- void seekAudio(qint64 time);
// helper functions
void deinit();