diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 17:41:23 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 17:59:52 (GMT) |
commit | 5a8c0ded599263446010dfc1729dcab8b2f62f0d (patch) | |
tree | d662bc84c4723fac1aa3fe27fc7321adf25062ff /src/3rdparty/phonon/mmf/environmentalreverb.cpp | |
parent | f42624c9f88cbbb71d6857566e00348b119d486c (diff) | |
download | Qt-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.cpp | 5 |
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 ¶m, +int EnvironmentalReverb::parameterChanged(const EffectParameter ¶m, const QVariant &value) { const qreal externalLevel = value.toReal(); @@ -94,8 +94,7 @@ void EnvironmentalReverb::parameterChanged(const EffectParameter ¶m, Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown parameter"); } - // TODO: handle audio effect errors - Q_UNUSED(err); + return err; } |