From ec1e9c7a441d6a8ba6206386a1fb43652f6bbd36 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Wed, 22 Sep 2010 13:49:52 -0700 Subject: Fix more audio effects auto tests commit 672c0dc3a04cb149691603342c319994e21235cb broke the energy probe used by auto tests to verify that an effect is actually enabled. The probe is based on the Visualizer which now scales the capture to maximise the signal level: this prevents from detecting level changes between subsequent captures. Playing sound at a lower volume moves the signal level out of the range where scalling occurs and makes comparison possible again. Change-Id: Ib56dec6e619c6d778dcc3ca6453091bf6136f290 --- .../com/android/mediaframeworktest/functional/MediaBassBoostTest.java | 3 ++- .../com/android/mediaframeworktest/functional/MediaEqualizerTest.java | 3 ++- .../android/mediaframeworktest/functional/MediaVirtualizerTest.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'media') diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaBassBoostTest.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaBassBoostTest.java index aca729e..b5b1c3e 100644 --- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaBassBoostTest.java +++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaBassBoostTest.java @@ -45,6 +45,7 @@ public class MediaBassBoostTest extends ActivityInstrumentationTestCase2