src/3rdparty/phonon/mmf/audiooutput.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    76 
    76 
    77 bool MMF::AudioOutput::setOutputDevice(int index)
    77 bool MMF::AudioOutput::setOutputDevice(int index)
    78 {
    78 {
    79     Q_ASSERT_X(index == AudioOutputDeviceID, Q_FUNC_INFO,
    79     Q_ASSERT_X(index == AudioOutputDeviceID, Q_FUNC_INFO,
    80                "We only support one output device, with id 0");
    80                "We only support one output device, with id 0");
       
    81 #ifdef QT_NO_DEBUG
       
    82     Q_UNUSED(index)
       
    83 #endif
    81     return true;
    84     return true;
    82 }
    85 }
    83 
    86 
    84 void MMF::AudioOutput::connectMediaObject(MediaObject *mediaObject)
    87 void MMF::AudioOutput::connectMediaObject(MediaObject *mediaObject)
    85 {
    88 {