summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-11-08 18:10:16 -0800
committerEric Laurent <elaurent@google.com>2011-11-08 18:42:37 -0800
commita47b69c6f7c6fe0044ebcb2d0790ce3548de56fd (patch)
treeea694ac6a6cf68f5c71720b941945e583d71c7de /media/libmediaplayerservice/nuplayer
parent936a981ba15d528a023311aa32f46446813551d9 (diff)
downloadframeworks_av-a47b69c6f7c6fe0044ebcb2d0790ce3548de56fd.zip
frameworks_av-a47b69c6f7c6fe0044ebcb2d0790ce3548de56fd.tar.gz
frameworks_av-a47b69c6f7c6fe0044ebcb2d0790ce3548de56fd.tar.bz2
Fix regression for SoundPool playback
Commit 19ddf0eb introduced a problem with applications (like SoundPool) relying on an underrun condition to detect end of playback instead of stopping the track when all data is written. AudioFlinger would keep waiting for new data in case of partial buffer filling and never reach the underrun condition. Added a mechanism to wait no more than once if not enough frames are present in the track buffer. Issue 5585490. Change-Id: I131e605ff6070831a01ddf734e68459e3bf2354b
Diffstat (limited to 'media/libmediaplayerservice/nuplayer')
0 files changed, 0 insertions, 0 deletions