From e48a196c880d9f92804c6e1e3ea5631ae2017dd1 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 12 Oct 2008 19:48:39 +0000 Subject: enabled all input plugins git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@581 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mpc/decoder_mpc.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 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 9378d727e..733fcd8ca 100644 --- a/src/plugins/Input/mpc/decoder_mpc.h +++ b/src/plugins/Input/mpc/decoder_mpc.h @@ -40,17 +40,14 @@ public: // Standard Decoder API bool initialize(); - double lengthInSeconds(); - void seek(double); + qint64 lengthInSeconds(); + void seek(qint64); void stop(); - // Equalizer - bool isEQSupported() const { return FALSE; } - void setEQEnabled(bool) { ; } - void setEQGain(int) { ; } - void setEQBands(int[10]) { ; } - - struct mpc_data *data() { return m_data; } + struct mpc_data *data() + { + return m_data; + } private: @@ -62,18 +59,17 @@ private: void deinit(); bool inited, user_stop; - int stat; // output buffer char *output_buf; ulong output_bytes, output_at; unsigned int bks; - bool done, finish; + bool done, m_finish; long len, freq, bitrate; int chan; unsigned long output_size; - double totalTime, seekTime; + qint64 totalTime, seekTime; }; -- cgit v1.2.3-13-gbd6f