summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-18 15:50:57 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-23 12:39:37 (GMT)
commit613e1ea9ef9e1cc7fdbfa5882432e9e6df003544 (patch)
tree171d10c8ae8edd5cb860d314ae03bae00ae80122
parenta68a747e9d97962e0d18bf852450192898163f14 (diff)
downloadQt-613e1ea9ef9e1cc7fdbfa5882432e9e6df003544.zip
Qt-613e1ea9ef9e1cc7fdbfa5882432e9e6df003544.tar.gz
Qt-613e1ea9ef9e1cc7fdbfa5882432e9e6df003544.tar.bz2
RoomLevel is not available in SDK 3.1, remove it.
In any case, we haven't implemented this effect.
-rw-r--r--src/3rdparty/phonon/mmf/abstractaudioeffect.h1
-rw-r--r--src/3rdparty/phonon/mmf/effectfactory.cpp8
-rw-r--r--src/plugins/phonon/mmf/plugin/plugin.pro2
3 files changed, 1 insertions, 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 <http://www.gnu.org/licenses/>.
#include <ListenerOrientationBase.h>
#include <LocationBase.h>
#include <LoudnessBase.h>
-#include <RoomLevelBase.h>
#include <SourceOrientationBase.h>
#include <StereoWideningBase.h>
@@ -69,7 +68,6 @@ QHash<QByteArray, QVariant> 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<int> EffectFactory::effectIndexes()
if (isEffectSupported<CSourceOrientation>())
retval.append(AbstractAudioEffect::EffectSourceOrientation);
- /*
- if (isEffectSupported<CRoomLevel>())
- retval.append(EffectRoomLevel);
- */
-
if (isEffectSupported<CStereoWidening>())
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