summaryrefslogtreecommitdiff
path: root/opengl/tests/gl2_basic/gl2_basic.cpp
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
commita6e58fe31667fab8ccfd01912a5e76e5c6f6d71f (patch)
treea3f3b0d5c5bc2882949e140b10efc4e0695841b7 /opengl/tests/gl2_basic/gl2_basic.cpp
parentf79cbd93e679f70c44d00542036deb306f07a809 (diff)
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 'opengl/tests/gl2_basic/gl2_basic.cpp')
0 files changed, 0 insertions, 0 deletions