OSDN Git Service

Fix issue 5355047: Automated effect tests fail.
authorEric Laurent <elaurent@google.com>
Fri, 23 Sep 2011 15:40:41 +0000 (08:40 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 23 Sep 2011 17:15:05 +0000 (10:15 -0700)
commit5e7acae2c3e4cf345e3fa7bf10e3c62f9e69e6be
tree8cc7a58d39a095530ac0d036d84a5e7b88ab0d12
parentd30d2aae108a132ac6ee04cdf29cbec50cc73320
Fix issue 5355047: Automated effect tests fail.

Fixed several regressions in automated audio effect tests due
to changes in effect framework and visualizer FFT output range.

- Do not suspend Volume effect on session 0 when effects are
enabled on specific sessions.
- Adapt energy detection thresholds to new visualizer FFT range.
- Leave more time for BassBoost and Virtualizer effects to ramp up
before measuring the effect.
- Removed second insert reverb left by mistake on the player session
in preset reverb test.

Change-Id: I7a1ad1372d783fa7900eb9dd1d3b47f54d8d766f
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaBassBoostTest.java
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaEnvReverbTest.java
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaEqualizerTest.java
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPresetReverbTest.java
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaVirtualizerTest.java
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaVisualizerTest.java
services/audioflinger/AudioFlinger.cpp