summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-12-05 09:47:19 -0800
committerEric Laurent <elaurent@google.com>2011-12-05 10:40:18 -0800
commit162b40bbaf3c3a24f61a6636bef6f80a9c0a31dd (patch)
tree799acc096d19121f9d7ec271bfdcb4f65a118df2 /media
parent7cafbb32999049873d4746ba83bd20c88abe6ce6 (diff)
downloadframeworks_av-162b40bbaf3c3a24f61a6636bef6f80a9c0a31dd.zip
frameworks_av-162b40bbaf3c3a24f61a6636bef6f80a9c0a31dd.tar.gz
frameworks_av-162b40bbaf3c3a24f61a6636bef6f80a9c0a31dd.tar.bz2
audioflinger: fix audio skipping over A2DP
The maximum sleep time allowed in the mixer thread when audio tracks are enabled but not ready for mixing is derived from the latency reported by the output stream. This does not work for A2DP where the latency also reflects encoding, decoding and transfer time. Modified activeSleepTimeUs() to take A2DP case into account. Issue 5682206. Change-Id: I3784ac01fb6f836b5a6ce6f764fb15347586de35
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions