diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-09-18 15:44:11 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-09-23 12:39:35 (GMT) |
commit | a68a747e9d97962e0d18bf852450192898163f14 (patch) | |
tree | 73e08f6bb729e0d3d5694f537c2bddf26f1128d3 | |
parent | c2db588c321301c30006be0720eda88b903738f1 (diff) | |
download | Qt-a68a747e9d97962e0d18bf852450192898163f14.zip Qt-a68a747e9d97962e0d18bf852450192898163f14.tar.gz Qt-a68a747e9d97962e0d18bf852450192898163f14.tar.bz2 |
Build fix for SDK 3.1.
-rw-r--r-- | src/3rdparty/phonon/mmf/audioplayer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/audioplayer.cpp b/src/3rdparty/phonon/mmf/audioplayer.cpp index 127b921..17294a7 100644 --- a/src/3rdparty/phonon/mmf/audioplayer.cpp +++ b/src/3rdparty/phonon/mmf/audioplayer.cpp @@ -93,7 +93,13 @@ void MMF::AudioPlayer::doSeek(qint64 ms) int MMF::AudioPlayer::setDeviceVolume(int mmfVolume) { + /* In SDK 3.1, this function is void. */ +#if !defined(__SERIES60_31__) return m_player->SetVolume(mmfVolume); +#else + m_player->SetVolume(mmfVolume); + return KErrNone; +#endif } int MMF::AudioPlayer::openFile(RFile& file) |