summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/environmentalreverb.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-11 17:41:23 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-11 17:59:52 (GMT)
commit5a8c0ded599263446010dfc1729dcab8b2f62f0d (patch)
treed662bc84c4723fac1aa3fe27fc7321adf25062ff /src/3rdparty/phonon/mmf/environmentalreverb.cpp
parentf42624c9f88cbbb71d6857566e00348b119d486c (diff)
downloadQt-5a8c0ded599263446010dfc1729dcab8b2f62f0d.zip
Qt-5a8c0ded599263446010dfc1729dcab8b2f62f0d.tar.gz
Qt-5a8c0ded599263446010dfc1729dcab8b2f62f0d.tar.bz2
Simplified error handling for audio effects
Task-number: QTBUG-4659 Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/3rdparty/phonon/mmf/environmentalreverb.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/environmentalreverb.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/environmentalreverb.cpp b/src/3rdparty/phonon/mmf/environmentalreverb.cpp
index 2e30ca1..f362afd 100644
--- a/src/3rdparty/phonon/mmf/environmentalreverb.cpp
+++ b/src/3rdparty/phonon/mmf/environmentalreverb.cpp
@@ -51,7 +51,7 @@ EnvironmentalReverb::EnvironmentalReverb(QObject *parent, const QList<EffectPara
}
-void EnvironmentalReverb::parameterChanged(const EffectParameter &param,
+int EnvironmentalReverb::parameterChanged(const EffectParameter &param,
const QVariant &value)
{
const qreal externalLevel = value.toReal();
@@ -94,8 +94,7 @@ void EnvironmentalReverb::parameterChanged(const EffectParameter &param,
Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown parameter");
}
- // TODO: handle audio effect errors
- Q_UNUSED(err);
+ return err;
}