Permit QAudioOutput::processedUSecs() to be called immediately after start()
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>
Wed, 1 Sep 2010 12:47:16 +0000 (13:47 +0100)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>
Fri, 17 Sep 2010 12:33:02 +0000 (13:33 +0100)
commit7ed96ae38b3eaee5988ac4d4717ff5c7611d0f15
tree70dc8664997df8a8c48463ca86d05587908258fc
parent496f49b4398f8ff70e50236a71b1b221183171ca
Permit QAudioOutput::processedUSecs() to be called immediately after start()

If QAudioOutput::processedUSecs() is called very soon after
QAudioOutput::start(), the DevSound instance owned by the Symbian
backend may still be initializing.  This patch causes the function to
return zero, rather than failing an assertion.

Task-number: QTBUG-13059
Reviewed-by: Derick Hawcroft
src/multimedia/audio/qaudio_symbian_p.cpp