src/3rdparty/phonon/mmf/audioplayer.cpp
changeset 25 e24348a560a6
parent 22 79de32ba3296
child 37 758a864f9613
equal deleted inserted replaced
23:89e065397ea6 25:e24348a560a6
    97      * 3.1, we handle it with ifdefs. However, if we compile against a later
    97      * 3.1, we handle it with ifdefs. However, if we compile against a later
    98      * SDK but are _running_ against 3.1, we avoid returning from an undefined
    98      * SDK but are _running_ against 3.1, we avoid returning from an undefined
    99      * stack by doing a runtime check of the SDK version. */
    99      * stack by doing a runtime check of the SDK version. */
   100 #if !defined(__SERIES60_31__)
   100 #if !defined(__SERIES60_31__)
   101     const int err = m_player->SetVolume(mmfVolume);
   101     const int err = m_player->SetVolume(mmfVolume);
   102     if (QSysInfo::s60Version() >= QSysInfo::SV_S60_5_0)
   102     if (QSysInfo::s60Version() >= QSysInfo::SV_S60_3_2)
   103         return err;
   103         return err;
   104     else
   104     else
   105         return KErrNone;
   105         return KErrNone;
   106  #else
   106  #else
   107      m_player->SetVolume(mmfVolume);
   107      m_player->SetVolume(mmfVolume);