summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-10-19 11:44:54 -0700
committerEric Laurent <elaurent@google.com>2011-10-19 11:44:54 -0700
commit7fa1cee12c12231b5d72c95dc72512867713ff1b (patch)
tree747e597778768c37e6c4e82b5820324184a88aca /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent70ac412b2fe7be2507189a9fdfb30c43b36d56ac (diff)
Fix issue 381905: BassBoostTest CTS tests fail...
When AudioEffectTest is executed, an Equalizer is created and enabled on a MediaPlayer session. Effects on the output mix are therefore suspended. Then the MediaPlayer is released with the effect still enabled. In this case, Audioflinger::purgeStaleEffects_l() fails to restore the suspended effects when the effect attached to the released audio session is removed. When subsequent tests are executed on output mix effects, these effects cannot be enabled as they are still suspended. Fixed purgeStaleEffects_l() to restore suspended effects if the effect removed is enabled. Also fixed EffectHandle::disconnect() to only restore suspended effects if the disconnected handle actually has control over the effect. Change-Id: I67232e7c34680b0cc01abfd57d5d510a524e5d4f
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions