summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-09-14 01:38:42 -0700
committerEric Laurent <elaurent@google.com>2009-09-14 02:37:15 -0700
commit64c0e1a51c3063991b4b01cefcf462a74a777592 (patch)
tree269c73ac43e177f62125340f9937f09f61a84d3c /telephony
parent91e2d8651fe38a921b37a8bf8b3148c572cf9430 (diff)
downloadframeworks_base-64c0e1a51c3063991b4b01cefcf462a74a777592.zip
frameworks_base-64c0e1a51c3063991b4b01cefcf462a74a777592.tar.gz
frameworks_base-64c0e1a51c3063991b4b01cefcf462a74a777592.tar.bz2
Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
This is due to a regression introduced by change 24114: when no audio tracks are ready for mixing, 0s are written to audio hardware. However this should only happen if tracks have already been mixed since the audio flinger thread woke up. Also do not write 0s to audio hardware in direct output threads when audio format is not linear PCM.
Diffstat (limited to 'telephony')
0 files changed, 0 insertions, 0 deletions