From a68a747e9d97962e0d18bf852450192898163f14 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Fri, 18 Sep 2009 17:44:11 +0200 Subject: Build fix for SDK 3.1. --- src/3rdparty/phonon/mmf/audioplayer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v0.12