Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Linux, OpenSuSE 13.2
-
c7ae48c5fb5005efae05f2cabdeee7117f6f72fa
Description
When changing the source of a QSoundEffect I will hear the old and the new sound during the first play() and only the new sound in following play()s. I created a short test project that shows the effect for C++, but I found the same when using QML.
The output.wav shows the effect of issuing
mSoundEffect.setSource(QUrl::fromLocalFile(":/beep2.wav"));
mSoundEffect.play();
three times in a row. The first occasion is wrong the two others correct.
This only happens on Linux. I tried the code on my Moto G Android phone and everything works as expected