From 2a9a78ddd34ac86dad084dc1102320645963df1c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 27 Nov 2007 19:10:13 +0000 Subject: fixed seeking; added effect plugin support; added sample rate converter plugin git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@190 90c681e8-e032-0410-971d-27865f9a5e38 --- lib/decoder.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/decoder.h') diff --git a/lib/decoder.h b/lib/decoder.h index de1e2d00a..97a3e1da6 100644 --- a/lib/decoder.h +++ b/lib/decoder.h @@ -14,7 +14,6 @@ #include #include - #include "filetag.h" class QObject; @@ -26,6 +25,7 @@ class Buffer; class Recycler; class Output; class Visualization; +class Effect; @@ -47,7 +47,7 @@ public: DecoderState(Type t) : m_type(t), m_error_msg(0), m_tag(0) - {} +{} DecoderState(const QString &e) : m_type(Error), m_tag(0) @@ -119,7 +119,7 @@ public: } Output *output() { - return out; + return m_output; } QMutex *mutex() @@ -165,6 +165,7 @@ signals: void stateChanged(const DecoderState&); protected: + void configure(long freq, int channels, int prec, int bitrate); void dispatch(DecoderState::Type); void dispatch(const DecoderState&); void dispatch(const FileTag&); @@ -173,9 +174,9 @@ protected: private: DecoderFactory *fctry; - QList listeners; + QList m_effects; QIODevice *in; - Output *out; + Output *m_output; QMutex mtx; QWaitCondition cnd; @@ -183,6 +184,7 @@ private: uint blksize; bool m_eqInited; bool m_useEQ; + }; #endif // DECODER_H -- cgit v1.2.3-13-gbd6f