aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mpc/decoder_mpc.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-22 18:45:40 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-22 18:45:40 +0000
commite235adde49d24b6d034ef2b74b28ad2a6cea2fee (patch)
tree052f594f2a861149b95098e80f6ec0dd34664362 /src/plugins/Input/mpc/decoder_mpc.h
parent7f084cab97cf3ad20b24e0fd1ddc58829b6c07bd (diff)
downloadqmmp-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.h6
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;