From 613e1ea9ef9e1cc7fdbfa5882432e9e6df003544 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Fri, 18 Sep 2009 17:50:57 +0200 Subject: RoomLevel is not available in SDK 3.1, remove it. In any case, we haven't implemented this effect. --- src/3rdparty/phonon/mmf/abstractaudioeffect.h | 1 - src/3rdparty/phonon/mmf/effectfactory.cpp | 8 -------- src/plugins/phonon/mmf/plugin/plugin.pro | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/3rdparty/phonon/mmf/abstractaudioeffect.h b/src/3rdparty/phonon/mmf/abstractaudioeffect.h index 9957e25..01542c9 100644 --- a/src/3rdparty/phonon/mmf/abstractaudioeffect.h +++ b/src/3rdparty/phonon/mmf/abstractaudioeffect.h @@ -76,7 +76,6 @@ public: EffectEnvironmentalReverb, EffectListenerOrientation, EffectLoudness, - //EffectRoomLevel, EffectSourceOrientation, EffectStereoWidening }; diff --git a/src/3rdparty/phonon/mmf/effectfactory.cpp b/src/3rdparty/phonon/mmf/effectfactory.cpp index 41f48d2..f33af68 100644 --- a/src/3rdparty/phonon/mmf/effectfactory.cpp +++ b/src/3rdparty/phonon/mmf/effectfactory.cpp @@ -26,7 +26,6 @@ along with this library. If not, see . #include #include #include -#include #include #include @@ -69,7 +68,6 @@ QHash EffectFactory::audioEffectDescriptions(AbstractAudio return constructEffectDescription(QObject::tr("Environmental Reverb"), "Environmental Reverb."); case AbstractAudioEffect::EffectLoudness: return constructEffectDescription(QObject::tr("Loudness"), "Loudness."); - //case EffectRoomLevel: case AbstractAudioEffect::EffectSourceOrientation: return constructEffectDescription(QObject::tr("Source Orientation"), "Source Orientation."); case AbstractAudioEffect::EffectStereoWidening: @@ -95,7 +93,6 @@ AbstractAudioEffect *EffectFactory::createAudioEffect(AbstractAudioEffect::Type case AbstractAudioEffect::EffectEnvironmentalReverb: case AbstractAudioEffect::EffectListenerOrientation: case AbstractAudioEffect::EffectLoudness: - //AbstractAudioEffect::EffectRoomLevel, case AbstractAudioEffect::EffectSourceOrientation: case AbstractAudioEffect::EffectStereoWidening: ; @@ -141,11 +138,6 @@ QList EffectFactory::effectIndexes() if (isEffectSupported()) retval.append(AbstractAudioEffect::EffectSourceOrientation); - /* - if (isEffectSupported()) - retval.append(EffectRoomLevel); - */ - if (isEffectSupported()) retval.append(AbstractAudioEffect::EffectStereoWidening); diff --git a/src/plugins/phonon/mmf/plugin/plugin.pro b/src/plugins/phonon/mmf/plugin/plugin.pro index 9a9002f..0dd909d 100644 --- a/src/plugins/phonon/mmf/plugin/plugin.pro +++ b/src/plugins/phonon/mmf/plugin/plugin.pro @@ -73,7 +73,7 @@ LIBS += -lefsrv # For file server LIBS += -lapgrfx -lapmime # For recognizer # These are for effects. -LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerBase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lRoomLevelEffect -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect +LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerBase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect # This is needed for having the .qtplugin file properly created on Symbian. QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend -- cgit v0.12