From e235adde49d24b6d034ef2b74b28ad2a6cea2fee Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 22 Sep 2009 18:45:40 +0000 Subject: 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 --- src/plugins/Input/mpc/decoder_mpc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/Input/mpc/decoder_mpc.h') 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; -- cgit v1.2.3-13-gbd6f