summaryrefslogtreecommitdiffstats
path: root/media/libmedia/MediaProfiles.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-27 18:24:29 -0700
committerEric Laurent <elaurent@google.com>2012-04-27 19:00:37 -0700
commit83faee053cfd4251dbb591b62039f563ffdac399 (patch)
treeca170f9a6c1a715ecc00ef49fc600aad92a23e11 /media/libmedia/MediaProfiles.cpp
parent209ec37b27a4fb6c92005c91ecf993ec19a3d430 (diff)
downloadframeworks_av-83faee053cfd4251dbb591b62039f563ffdac399.zip
frameworks_av-83faee053cfd4251dbb591b62039f563ffdac399.tar.gz
frameworks_av-83faee053cfd4251dbb591b62039f563ffdac399.tar.bz2
AudioFlinger: fix stop detection for static tracks
The end of playback and end of presentation detection was broken for static AudioTracks (tracks using shared memory buffers passed by client). The mixer should not wait for a minimal amount of frames to be available to mix a static track otherwise the last frames might never be consumed. A static track should be removed from active list in case of underrun even if not stopped(). Issue 6411521. Change-Id: I66a2c1a77e98149e5049a223a6f04c3b8c5ad11a
Diffstat (limited to 'media/libmedia/MediaProfiles.cpp')
0 files changed, 0 insertions, 0 deletions