diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-22 15:29:54 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-22 15:29:54 +0000 |
| commit | c9d69d13e214c0071a65ba967276f057d204f8f8 (patch) | |
| tree | a4900266b80116847b0342da2fc86fbb26595dc0 /src/plugins/Input/sndfile/decoder_sndfile.h | |
| parent | 362d4e2b4f57a39efeef52a3fd7b5dc432207c0a (diff) | |
| download | qmmp-c9d69d13e214c0071a65ba967276f057d204f8f8.tar.gz qmmp-c9d69d13e214c0071a65ba967276f057d204f8f8.tar.bz2 qmmp-c9d69d13e214c0071a65ba967276f057d204f8f8.zip | |
enabled sndfile plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1248 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/sndfile/decoder_sndfile.h')
| -rw-r--r-- | src/plugins/Input/sndfile/decoder_sndfile.h | 6 |
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(); |
