summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-18 15:44:11 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-23 12:39:35 (GMT)
commita68a747e9d97962e0d18bf852450192898163f14 (patch)
tree73e08f6bb729e0d3d5694f537c2bddf26f1128d3 /src/3rdparty/phonon
parentc2db588c321301c30006be0720eda88b903738f1 (diff)
downloadQt-a68a747e9d97962e0d18bf852450192898163f14.zip
Qt-a68a747e9d97962e0d18bf852450192898163f14.tar.gz
Qt-a68a747e9d97962e0d18bf852450192898163f14.tar.bz2
Build fix for SDK 3.1.
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r--src/3rdparty/phonon/mmf/audioplayer.cpp6
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)