src/3rdparty/phonon/gstreamer/volumefadereffect.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    19 #include "common.h"
    19 #include "common.h"
    20 #include <QtCore>
    20 #include <QtCore>
    21 
    21 
    22 QT_BEGIN_NAMESPACE
    22 QT_BEGIN_NAMESPACE
    23 
    23 
       
    24 #ifndef QT_NO_PHONON_VOLUMEFADEREFFECT
    24 namespace Phonon
    25 namespace Phonon
    25 {
    26 {
    26 namespace Gstreamer
    27 namespace Gstreamer
    27 {
    28 {
    28 
       
    29 VolumeFaderEffect::VolumeFaderEffect(Backend *backend, QObject *parent) 
    29 VolumeFaderEffect::VolumeFaderEffect(Backend *backend, QObject *parent) 
    30     : Effect(backend, parent, AudioSource | AudioSink)
    30     : Effect(backend, parent, AudioSource | AudioSink)
    31     , m_fadeCurve(Phonon::VolumeFaderEffect::Fade3Decibel)
    31     , m_fadeCurve(Phonon::VolumeFaderEffect::Fade3Decibel)
    32     , m_fadeTimer(0)
    32     , m_fadeTimer(0)
    33     , m_fadeDuration(0)
    33     , m_fadeDuration(0)
   154     }
   154     }
   155     return QObject::event(event);
   155     return QObject::event(event);
   156 }
   156 }
   157 
   157 
   158 }} //namespace Phonon::Gstreamer
   158 }} //namespace Phonon::Gstreamer
   159 
   159 #endif //QT_NO_PHONON_VOLUMEFADEREFFECT
   160 QT_END_NAMESPACE
   160 QT_END_NAMESPACE
   161 
   161 
   162 #include "moc_volumefadereffect.cpp"
   162 #include "moc_volumefadereffect.cpp"