Discard all DevSound buffers held when QAudioInput::suspend() called
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>
Wed, 8 Sep 2010 12:41:54 +0000 (13:41 +0100)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>
Fri, 17 Sep 2010 12:32:13 +0000 (13:32 +0100)
commit496f49b4398f8ff70e50236a71b1b221183171ca
treecc5338fdb438272a91e7ccc8edbe3babfba499dc
parentbcf965462f07e7772754777aeb64dab9591ba0b0
Discard all DevSound buffers held when QAudioInput::suspend() called

Resuming recording causes buffers previously provided to the client
(via MDevSoundObserver::BufferToBeEmptied()) to be invalidated.
The buffers therefore must be discarded when recording is suspended.

Task-number: QTBUG-13058
Reviewed-by: Derick Hawcroft
src/multimedia/audio/qaudioinput_symbian_p.cpp