summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/bassboost.h
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-12 13:31:15 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-12 13:31:15 (GMT)
commit1b62c32319feb673a65ea9f2d3e6e7056ffa9787 (patch)
treeee232642d4f444b820570ca7855702b03fcc4f43 /src/3rdparty/phonon/mmf/bassboost.h
parent008bae01b016926209dddacc6e31c79b9d99d4f7 (diff)
parent24392fb62bb34a80eb7ce13662b0a8744c9ab415 (diff)
downloadQt-1b62c32319feb673a65ea9f2d3e6e7056ffa9787.zip
Qt-1b62c32319feb673a65ea9f2d3e6e7056ffa9787.tar.gz
Qt-1b62c32319feb673a65ea9f2d3e6e7056ffa9787.tar.bz2
Merge commit 'origin/mmfphonon' into 4.6
Diffstat (limited to 'src/3rdparty/phonon/mmf/bassboost.h')
-rw-r--r--src/3rdparty/phonon/mmf/bassboost.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/3rdparty/phonon/mmf/bassboost.h b/src/3rdparty/phonon/mmf/bassboost.h
index 4ad0a6c..fc40e21 100644
--- a/src/3rdparty/phonon/mmf/bassboost.h
+++ b/src/3rdparty/phonon/mmf/bassboost.h
@@ -21,6 +21,8 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
#include "abstractaudioeffect.h"
+class CBassBoost;
+
QT_BEGIN_NAMESPACE
namespace Phonon
@@ -28,22 +30,25 @@ namespace Phonon
namespace MMF
{
/**
- * @short An "bass boost" effect.
- *
- * The documentation does not say what "bass boost" is, neither has it anykind
- * of setting. It's an on or off thing.
+ * @short A "bass boost" effect.
*/
class BassBoost : public AbstractAudioEffect
{
Q_OBJECT
public:
- BassBoost(QObject *parent);
+ BassBoost(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 connectAudioPlayer(AudioPlayer::NativePlayer *player);
- virtual void applyParameters();
- virtual void parameterChanged(const int id, const QVariant &value);
+ virtual void createEffect(AudioPlayer::NativePlayer *player);
+
+private:
+ CBassBoost *concreteEffect();
};
}