diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-22 18:45:40 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-22 18:45:40 +0000 |
| commit | e235adde49d24b6d034ef2b74b28ad2a6cea2fee (patch) | |
| tree | 052f594f2a861149b95098e80f6ec0dd34664362 /src/plugins/Input/mpc/decoder_mpc.h | |
| parent | 7f084cab97cf3ad20b24e0fd1ddc58829b6c07bd (diff) | |
| download | qmmp-e235adde49d24b6d034ef2b74b28ad2a6cea2fee.tar.gz qmmp-e235adde49d24b6d034ef2b74b28ad2a6cea2fee.tar.bz2 qmmp-e235adde49d24b6d034ef2b74b28ad2a6cea2fee.zip | |
enabled mpc plugin, fixed some bugs
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1250 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mpc/decoder_mpc.h')
| -rw-r--r-- | src/plugins/Input/mpc/decoder_mpc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Input/mpc/decoder_mpc.h b/src/plugins/Input/mpc/decoder_mpc.h index b4e148706..7a8d3260a 100644 --- a/src/plugins/Input/mpc/decoder_mpc.h +++ b/src/plugins/Input/mpc/decoder_mpc.h @@ -43,7 +43,7 @@ struct mpc_data class DecoderMPC : public Decoder { public: - DecoderMPC(QObject *, DecoderFactory *, QIODevice *, Output *); + DecoderMPC(QIODevice *i); virtual ~DecoderMPC(); struct mpc_data *data() @@ -55,10 +55,10 @@ public: bool initialize(); qint64 totalTime(); int bitrate(); + qint64 read(char *audio, qint64 maxSize); + void seek(qint64 time); private: - virtual qint64 readAudio(char *audio, qint64 maxSize); - void seekAudio(qint64 time); struct mpc_data *m_data; long m_len; |
