QSoundEffect: Set playing to true before starting the audio-device.
authorChristian Strømme <christian.stromme@digia.com>
Mon, 28 Oct 2013 15:36:49 +0000 (16:36 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 30 Oct 2013 14:02:28 +0000 (15:02 +0100)
commit852f684973807531d16133815f4ed535ea3011dc
tree273b58e0e8b6915f27d5712b62d46b98ec153dbc
parent30cf028fb158f08bc01357476f73426c43c35b4e
QSoundEffect: Set playing to true before starting the audio-device.

When the audio-device starts playing it should be able to read from the
source immediately. The OpenSL plugin would fail because the source was
blocking the audio-device from reading, as the state still was in its
initial state (stopped).

Change-Id: Ia26fa2eb442e239f5209947e6c9cd464b7d976a4
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/multimedia/audio/qsoundeffect_qaudio_p.cpp