Changeset 651 for trunk/src/3rdparty/phonon/mmf/backend.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/3rdparty/phonon/mmf/backend.cpp
r561 r651 46 46 : QObject(parent) 47 47 , m_ancestorMoveMonitor(new AncestorMoveMonitor(this)) 48 , m_effectFactory(new EffectFactory(this)) 48 49 { 49 50 TRACE_CONTEXT(Backend::Backend, EBackend); … … 82 83 Q_ASSERT(args.count() == 1); 83 84 Q_ASSERT(args.first().type() == QVariant::Int); 84 const AbstractAudioEffect::Type effect = AbstractAudioEffect::Type(args.first().toInt());85 86 return EffectFactory::createAudioEffect(effect, parent);85 const EffectFactory::Type type = 86 static_cast<EffectFactory::Type>(args.first().toInt()); 87 return m_effectFactory->createAudioEffect(type, parent); 87 88 } 88 89 case VideoWidgetClass: … … 106 107 { 107 108 case EffectType: 108 retval.append( EffectFactory::effectIndexes());109 retval.append(m_effectFactory->effectIndexes()); 109 110 break; 110 111 case AudioOutputDeviceType: … … 127 128 switch (type) { 128 129 case EffectType: 129 return EffectFactory::audioEffectDescriptions(AbstractAudioEffect::Type(index));130 return m_effectFactory->audioEffectDescriptions(EffectFactory::Type(index)); 130 131 case AudioOutputDeviceType: 131 132 return AudioOutput::audioOutputDescription(index);
Note:
See TracChangeset
for help on using the changeset viewer.