summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/environmentalreverb.h
diff options
context:
space:
mode:
authorAndreas Kling <andreas.kling@nokia.com>2010-01-20 08:34:08 (GMT)
committerAndreas Kling <andreas.kling@nokia.com>2010-01-20 08:34:08 (GMT)
commit01f733a64e45363e74bea62e4cae8a658bc09383 (patch)
treeea39b38552a063e7e10bd432b1155a7abae61620 /src/3rdparty/phonon/mmf/environmentalreverb.h
parentfdf463ba74b2e00ba5f9db10f43585e8b15054f7 (diff)
parentb906feddf1593a837785bc41d65e837e64d31284 (diff)
downloadQt-01f733a64e45363e74bea62e4cae8a658bc09383.zip
Qt-01f733a64e45363e74bea62e4cae8a658bc09383.tar.gz
Qt-01f733a64e45363e74bea62e4cae8a658bc09383.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'src/3rdparty/phonon/mmf/environmentalreverb.h')
-rw-r--r--src/3rdparty/phonon/mmf/environmentalreverb.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/environmentalreverb.h b/src/3rdparty/phonon/mmf/environmentalreverb.h
new file mode 100644
index 0000000..eab68c6
--- /dev/null
+++ b/src/3rdparty/phonon/mmf/environmentalreverb.h
@@ -0,0 +1,62 @@
+/* This file is part of the KDE project.
+
+Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+
+This library is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 2.1 or 3 of the License.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this library. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#ifndef PHONON_MMF_ENVIRONMENTALREVERB_H
+#define PHONON_MMF_ENVIRONMENTALREVERB_H
+
+#include "abstractaudioeffect.h"
+
+class CEnvironmentalReverb;
+
+QT_BEGIN_NAMESPACE
+
+namespace Phonon
+{
+namespace MMF
+{
+/**
+ * @short A reverb effect.
+ */
+class EnvironmentalReverb : public AbstractAudioEffect
+{
+ Q_OBJECT
+public:
+ EnvironmentalReverb(QObject *parent, const QList<EffectParameter>& parameters);
+
+ // Static interface required by EffectFactory
+ static const char* description();
+ static bool getParameters(CMdaAudioOutputStream *stream,
+ QList<EffectParameter>& parameters);
+
+protected:
+ // AbstractAudioEffect
+ virtual void createEffect(AudioPlayer::NativePlayer *player);
+ virtual int effectParameterChanged(const EffectParameter &param,
+ const QVariant &value);
+
+private:
+ CEnvironmentalReverb *concreteEffect();
+
+};
+}
+}
+
+QT_END_NAMESPACE
+
+#endif
+