diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-20 11:24:03 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-20 11:24:03 (GMT) |
commit | f695026fce1c20fdf4ca101dd7ac8da291ecf381 (patch) | |
tree | 0c91366ad6e53ecf0cf985aa3e98ff1fdab433be /src/3rdparty/phonon/mmf/dummyplayer.cpp | |
parent | 991fb666cd7ba1d543156980bdc601309ec2c434 (diff) | |
download | Qt-f695026fce1c20fdf4ca101dd7ac8da291ecf381.zip Qt-f695026fce1c20fdf4ca101dd7ac8da291ecf381.tar.gz Qt-f695026fce1c20fdf4ca101dd7ac8da291ecf381.tar.bz2 |
Added VolumeControlInterface to abstract details of path between MediaObject and AudioOutput
Diffstat (limited to 'src/3rdparty/phonon/mmf/dummyplayer.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/dummyplayer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/3rdparty/phonon/mmf/dummyplayer.cpp b/src/3rdparty/phonon/mmf/dummyplayer.cpp index ecd6815..26257c0 100644 --- a/src/3rdparty/phonon/mmf/dummyplayer.cpp +++ b/src/3rdparty/phonon/mmf/dummyplayer.cpp @@ -21,6 +21,10 @@ along with this library. If not, see <http://www.gnu.org/licenses/>. using namespace Phonon; using namespace Phonon::MMF; +//----------------------------------------------------------------------------- +// Public functions (AbstractPlayer interface) +//----------------------------------------------------------------------------- + void MMF::DummyPlayer::play() { } @@ -86,9 +90,11 @@ MediaSource MMF::DummyPlayer::source() const return MediaSource(); } +/* void MMF::DummyPlayer::setSource(const MediaSource &) { } +*/ void MMF::DummyPlayer::setNextSource(const MediaSource &) { @@ -116,10 +122,6 @@ void MMF::DummyPlayer::setFileSource(const Phonon::MediaSource &, RFile &) { } -//----------------------------------------------------------------------------- -// Volume -//----------------------------------------------------------------------------- - qreal MMF::DummyPlayer::volume() const { return 0; @@ -130,8 +132,6 @@ bool MMF::DummyPlayer::setVolume(qreal) return true; } -void MMF::DummyPlayer::setAudioOutput(AudioOutput *) -{ -} + |