diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-21 10:39:36 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-21 10:39:36 (GMT) |
commit | 3f39d630d3dcc161c4a85127129274ca7ea857a2 (patch) | |
tree | ba726756cfdd87883fd546ff2f0e5c2b20e64eac /src/3rdparty/phonon/mmf/mediaobject.cpp | |
parent | 932c48658656fa328507b16e39c3a6cc820ef15e (diff) | |
download | Qt-3f39d630d3dcc161c4a85127129274ca7ea857a2.zip Qt-3f39d630d3dcc161c4a85127129274ca7ea857a2.tar.gz Qt-3f39d630d3dcc161c4a85127129274ca7ea857a2.tar.bz2 |
Further tidied up volume handling
Diffstat (limited to 'src/3rdparty/phonon/mmf/mediaobject.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/mediaobject.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/3rdparty/phonon/mmf/mediaobject.cpp b/src/3rdparty/phonon/mmf/mediaobject.cpp index 4b5c4f0..bf0356e 100644 --- a/src/3rdparty/phonon/mmf/mediaobject.cpp +++ b/src/3rdparty/phonon/mmf/mediaobject.cpp @@ -366,18 +366,14 @@ void MMF::MediaObject::setTransitionTime(qint32 time) m_player->setTransitionTime(time); } + //----------------------------------------------------------------------------- -// VolumeControlInterface +// VolumeObserver //----------------------------------------------------------------------------- -qreal MMF::MediaObject::volume() const -{ - return m_player->volume(); -} - -bool MMF::MediaObject::setVolume(qreal volume) +void MMF::MediaObject::volumeChanged(qreal volume) { - return m_player->setVolume(volume); + m_player->volumeChanged(volume); } |