diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 16:13:10 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 16:34:12 (GMT) |
commit | edbbbe81675e1b9792f43232963c399ff2fffbd6 (patch) | |
tree | 1b91cbbc297dd674216383bb2cd5020610b60aca /src/3rdparty/phonon/mmf/effectfactory.cpp | |
parent | 99acb8f8e53767e59a5634609b0d3582ae5b0d7c (diff) | |
download | Qt-edbbbe81675e1b9792f43232963c399ff2fffbd6.zip Qt-edbbbe81675e1b9792f43232963c399ff2fffbd6.tar.gz Qt-edbbbe81675e1b9792f43232963c399ff2fffbd6.tar.bz2 |
Implemented bass boost in Phonon MMF backend
Task-number: QTBUG-4659
Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/3rdparty/phonon/mmf/effectfactory.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/effectfactory.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/effectfactory.cpp b/src/3rdparty/phonon/mmf/effectfactory.cpp index 19c6d90..c6593bb 100644 --- a/src/3rdparty/phonon/mmf/effectfactory.cpp +++ b/src/3rdparty/phonon/mmf/effectfactory.cpp @@ -68,15 +68,16 @@ AbstractAudioEffect *EffectFactory::createAudioEffect(Type type, { case TypeBassBoost: effect = new BassBoost(parent, parameters); + break; case TypeAudioEqualizer: effect = new AudioEqualizer(parent, parameters); + break; case TypeDistanceAttenuation: case TypeEnvironmentalReverb: case TypeListenerOrientation: case TypeLoudness: case TypeSourceOrientation: case TypeStereoWidening: - break; default: Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown effect"); } @@ -124,7 +125,7 @@ void EffectFactory::initialize() Q_ASSERT_X(!m_initialized, Q_FUNC_INFO, "Already initialized"); INITIALIZE_EFFECT(AudioEqualizer) - //INITIALIZE_EFFECT(BassBoost) + INITIALIZE_EFFECT(BassBoost) m_initialized = true; } |