summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/bassboost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon/mmf/bassboost.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/bassboost.cpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/bassboost.cpp b/src/3rdparty/phonon/mmf/bassboost.cpp
index ae96b45..4edd102 100644
--- a/src/3rdparty/phonon/mmf/bassboost.cpp
+++ b/src/3rdparty/phonon/mmf/bassboost.cpp
@@ -28,15 +28,16 @@ using namespace Phonon::MMF;
\internal
*/
-BassBoost::BassBoost(QObject *parent) : AbstractAudioEffect::AbstractAudioEffect(parent,
- QList<EffectParameter>())
+BassBoost::BassBoost(QObject *parent, const QList<EffectParameter> &parameters)
+ : AbstractAudioEffect::AbstractAudioEffect(parent, parameters)
{
+
}
void BassBoost::parameterChanged(const int,
const QVariant &)
{
- Q_ASSERT_X(false, Q_FUNC_INFO, "BassBoost has not parameters");
+ Q_ASSERT_X(false, Q_FUNC_INFO, "BassBoost has no parameters");
}
void BassBoost::connectAudioPlayer(AudioPlayer::NativePlayer *player)
@@ -51,5 +52,19 @@ void BassBoost::applyParameters()
// No parameters to apply
}
+//-----------------------------------------------------------------------------
+// Static functions
+//-----------------------------------------------------------------------------
+
+const char* BassBoost::description()
+{
+ return "Bass boost";
+}
+
+void BassBoost::getParameters(NativeEffect*, QList<EffectParameter>&)
+{
+
+}
+
QT_END_NAMESPACE