summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-09-03 03:45:52 -0700
committerEric Laurent <elaurent@google.com>2009-09-03 04:11:18 -0700
commita160c6ea053ab317374327d8ba21684b2fac40e4 (patch)
treeaa9108839842462629e48ebba8a1ff29778a306a /opengl/tests/gl_basic/gl_basic.cpp
parent0c36a517cd01a7112460a96f9f0fa2badf8f7015 (diff)
fix issue 2096657: Sholes: residue shutter sound heard ONCE while taking a picture AFTER the volume is turned off.
Do not ramp volume if the first frame of a track is processed after the track was stopped. In the case of very short sounds, the track stop request can be received by AudioFlinger just after the start request before the first frame is mixed by AudioMixer. In this case, the track is already in stopped state and initial volume is applied with a ramp for the first frame processed which should not be the case: initial volume change is always applied immediatelly.
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions