Comment 10 for bug 1534776

Revision history for this message
Albert Astals Cid (aacid) wrote :

The problem here is that we can not use MediaPlayer.alert since it has never really worked, see https://bugreports.qt.io/browse/QTBUG-46758 that shows that lowercase enums just do not work.

I guess prior to OTA9 this worked because the media-hub was less picky about stopping one audio while playing another.

My suggested fix is that we add the uppercase variants of the enums in src/imports/multimedia/qdeclarativeaudio_p.h of qtmultimedia-opensource-src-5.4.1and then we can fix unity8 to use MediaPlayer.Alert.

I have tried that on my phone locally and fixes the issue (though it won't fix any other place that was trying to use MediaPlayer.alert).

Is this a valid solution?