diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-09-08 14:18:06 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-09-17 12:33:29 (GMT) |
commit | 15f6338e3984e103728a66de2f25e09e19f9077e (patch) | |
tree | 93bc8aad8bbbef32d11aa46c4a61a21840dd9fa6 /src/multimedia | |
parent | 5b89aac0a2e317f59c3437c7a9d1a9ee51182714 (diff) | |
download | Qt-15f6338e3984e103728a66de2f25e09e19f9077e.zip Qt-15f6338e3984e103728a66de2f25e09e19f9077e.tar.gz Qt-15f6338e3984e103728a66de2f25e09e19f9077e.tar.bz2 |
Discard buffer pointer when DevSound is stopped
Task-number: QTBUG-13504
Reviewed-by: Derick Hawcroft
Diffstat (limited to 'src/multimedia')
-rw-r--r-- | src/multimedia/audio/qaudiooutput_symbian_p.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudiooutput_symbian_p.cpp b/src/multimedia/audio/qaudiooutput_symbian_p.cpp index c8b6ecf..cc32f9d 100644 --- a/src/multimedia/audio/qaudiooutput_symbian_p.cpp +++ b/src/multimedia/audio/qaudiooutput_symbian_p.cpp @@ -195,6 +195,7 @@ void QAudioOutputPrivate::suspend() // lost data with silence following a call to resume(), in order to // ensure that processedUSecs() returns the correct value. m_devSound->stop(); + m_devSoundBuffer = 0; m_totalSamplesPlayed += samplesPlayed; // Calculate the amount of data dropped |