summaryrefslogtreecommitdiff
path: root/doc/src/snippets/sqldatabase/sqldatabase.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-09-01 13:49:54 +0100
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-09-17 14:21:03 +0100
commit98b335dadef433e383d3a25dbdadbb5efe7f8429 (patch)
treeee8387c24053dd3e451f9059323646cd764beb26 /doc/src/snippets/sqldatabase/sqldatabase.cpp
parent7eb0aea6d3d261b97d224b5342fac1637cb9b792 (diff)
downloadqt4-tools-98b335dadef433e383d3a25dbdadbb5efe7f8429.tar.gz
Discard empty buffer on call to QAudioOutput::resume()
The Symbian backend holds buffers which are passed to it from DevSound, exposing the memory of these buffers via the QIODevice interface. When QAudioOutput::resume() is called, the backend re-starts data flow by passing the buffer it holds back to DevSound. Previously, this would not happen if the buffer was empty, potentially causing playback to stall. This patch ensures that the buffer is always sent back to DevSound, and data flow therefore always resumes. Task-number: QTBUG-13059 Reviewed-by: Derick Hawcroft
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions