Suppress overflow errors raised by Symbian DevSound during playback
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>
Wed, 1 Sep 2010 12:52:46 +0000 (13:52 +0100)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>
Fri, 17 Sep 2010 12:33:20 +0000 (13:33 +0100)
commit5b89aac0a2e317f59c3437c7a9d1a9ee51182714
tree05a512552c6eac22bb2fb92c35f8a2a35644077c
parent1f3c8e102c026b7bfb163234a8f87cc0b6863246
Suppress overflow errors raised by Symbian DevSound during playback

When QAudioOutput::suspend() and QAudioOutput::resume() are called
repeatedly, with a short delay between each call, DevSound occasionally
raises a KErrOverflow error.  The backend previously translated this
into QAudio::IOError, causing the object to transition into the
QAudio::Stopped state.

This error can be safely ignored, with playback resuming as soon as
more audio data is provided to DevSound.  This patch therefore
suppresses the error.

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