summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2009-09-03 03:45:52 -0700
committer Eric Laurent <elaurent@google.com> 2009-09-03 04:11:18 -0700
commit08d3d1d001941b396b2c5e615ab8b885eefc12b4 (patch)
treeffcd7ecd2819a5a20cb956155ae401872f8772f6 /libs/surfaceflinger/LayerBase.cpp
parent2dcf5dae9864c103e8f03495d58ed89a14f1020e (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 'libs/surfaceflinger/LayerBase.cpp')
0 files changed, 0 insertions, 0 deletions