QSoundEffect: fix changing the loop count while playing. v5.3.0-alpha1
authorYoann Lopes <yoann.lopes@digia.com>
Thu, 20 Feb 2014 18:42:20 +0000 (19:42 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 25 Feb 2014 14:00:44 +0000 (15:00 +0100)
commitd964388b38ec4762e315d86aacb779604bcdca1b
treed774d576c66db43cdd91cb0ebee6fbd052c17012
parent92323612d01e9bd6438fb9da0dd810c6dad045a3
QSoundEffect: fix changing the loop count while playing.

The running count was not updated with the new value.

Auto-test added and documentation updated to be more clear about this
behavior.

Task-number: QTBUG-36643

Change-Id: I29e98ca4679f950a75133b21873738bcb72d23d4
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/multimedia/audio/qsoundeffect.cpp
src/multimedia/audio/qsoundeffect_pulse_p.cpp
src/multimedia/audio/qsoundeffect_qaudio_p.cpp
tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp