src/3rdparty/phonon/mmf/stereowidening.h
branchRCL_3
changeset 4 3b1da2848fc7
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
       
     1 /*  This file is part of the KDE project.
       
     2 
       
     3 Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 
       
     5 This library is free software: you can redistribute it and/or modify
       
     6 it under the terms of the GNU Lesser General Public License as published by
       
     7 the Free Software Foundation, either version 2.1 or 3 of the License.
       
     8 
       
     9 This library is distributed in the hope that it will be useful,
       
    10 but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12 GNU Lesser General Public License for more details.
       
    13 
       
    14 You should have received a copy of the GNU Lesser General Public License
       
    15 along with this library.  If not, see <http://www.gnu.org/licenses/>.
       
    16 
       
    17 */
       
    18 
       
    19 #ifndef PHONON_MMF_STEREOWIDENING_H
       
    20 #define PHONON_MMF_STEREOWIDENING_H
       
    21 
       
    22 #include "abstractaudioeffect.h"
       
    23 
       
    24 class CStereoWidening;
       
    25 
       
    26 QT_BEGIN_NAMESPACE
       
    27 
       
    28 namespace Phonon
       
    29 {
       
    30 namespace MMF
       
    31 {
       
    32 /**
       
    33  * @short A "bass boost" effect.
       
    34  */
       
    35 class StereoWidening : public AbstractAudioEffect
       
    36 {
       
    37     Q_OBJECT
       
    38 public:
       
    39     StereoWidening(QObject *parent, const QList<EffectParameter>& parameters);
       
    40 
       
    41     // Static interface required by EffectFactory
       
    42     static const char* description();
       
    43     static bool getParameters(CMdaAudioOutputStream *stream,
       
    44         QList<EffectParameter>& parameters);
       
    45 
       
    46 protected:
       
    47     // AbstractAudioEffect
       
    48     virtual void createEffect(AudioPlayer::NativePlayer *player);
       
    49     virtual int parameterChanged(const EffectParameter &param,
       
    50                                  const QVariant &value);
       
    51 
       
    52 private:
       
    53     CStereoWidening *concreteEffect();
       
    54 
       
    55 };
       
    56 }
       
    57 }
       
    58 
       
    59 QT_END_NAMESPACE
       
    60 
       
    61 #endif
       
    62