diff options
author | Ling Hu <ling.hu@nokia.com> | 2011-11-07 11:49:09 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-09 01:24:14 +0100 |
commit | a8be7b6053b836aba27421450161408f2ad7a1e1 (patch) | |
tree | 6c7980b66ebf61f0ae7c061f1e25a930f132a2c3 /tests | |
parent | 9eeb1389f57bc4c0cfd205c7d1aaaa8fe069f81e (diff) |
Fix pullmode data lost problem in QAudioOutput(pulseaudio)
At each userFeed, m_bytesAvailable is not updated properly in pullmode,
so the pull data size become irrelevent to the size we can actually write.
This problem is fixed by checking the actual writable size each time
before pulling the data and limit the size of the pulled and written data.
Change-Id: I6f53e6348693ddf4e3c79e90d3c3d0c1ffc713aa
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions