diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2009-12-04 11:49:12 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2009-12-08 13:07:39 (GMT) |
commit | 3f648dc075689e2ffedda2769cc76b4a56fb1073 (patch) | |
tree | e216758e5d86e14c7d3d8630796e11f355b4add4 /src/3rdparty/phonon/mmf/audioequalizer.h | |
parent | 8e21fc62fe40c8e393007516958c216ad8dbd629 (diff) | |
download | Qt-3f648dc075689e2ffedda2769cc76b4a56fb1073.zip Qt-3f648dc075689e2ffedda2769cc76b4a56fb1073.tar.gz Qt-3f648dc075689e2ffedda2769cc76b4a56fb1073.tar.bz2 |
Implemented node disconnection in Phonon MMF backend
Task-number: QTBUG-4663
Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty/phonon/mmf/audioequalizer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/audioequalizer.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/3rdparty/phonon/mmf/audioequalizer.h b/src/3rdparty/phonon/mmf/audioequalizer.h index d4c8165..9910ea4 100644 --- a/src/3rdparty/phonon/mmf/audioequalizer.h +++ b/src/3rdparty/phonon/mmf/audioequalizer.h @@ -19,7 +19,6 @@ along with this library. If not, see <http://www.gnu.org/licenses/>. #ifndef PHONON_MMF_AUDIOEQUALIZER_H #define PHONON_MMF_AUDIOEQUALIZER_H -#include <AudioEqualizerBase.h> #include "abstractaudioeffect.h" QT_BEGIN_NAMESPACE @@ -43,14 +42,18 @@ public: AudioEqualizer(QObject *parent); protected: - virtual void parameterChanged(const int id, - const QVariant &value); + // AbstractAudioEffect + virtual void connectAudioPlayer(AudioPlayer::NativePlayer *player); + virtual void connectVideoPlayer(VideoPlayer::NativePlayer *player); + virtual void applyParameters(); + virtual void parameterChanged(const int id, const QVariant &value); - virtual bool activateOn(CPlayerType *player); +private: + void setBandLevel(int band, int level); private: static QList<EffectParameter> createParams(); - QScopedPointer<CAudioEqualizer> m_bassBoost; + }; } } |