Fixes and re-enables tests disabled on Android
Several tests were disabled in r6325 and r6326. Also, see issue 3445. This CL fixes the remaining four of the audio_processing related ones. Affects the tests: - SystemDelayTest.CorrectDelayAfterStableBufferBuildUp - SystemDelayTest.CorrectDelayDuringDrift - SystemDelayTest.ShouldRecoverAfterGlitch - ApmTest.EchoCancellationReportsCorrectDelays The tests assumes reported delays are used, which now is explicitly set. BUG=3445 TESTED=trybots R=aluebs@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6489 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -827,7 +827,7 @@ TEST_F(ApmTest, EchoCancellation) {
|
||||
EXPECT_FALSE(apm_->echo_cancellation()->aec_core() != NULL);
|
||||
}
|
||||
|
||||
TEST_F(ApmTest, DISABLED_ON_ANDROID(EchoCancellationReportsCorrectDelays)) {
|
||||
TEST_F(ApmTest, EchoCancellationReportsCorrectDelays) {
|
||||
// Enable AEC only.
|
||||
EXPECT_EQ(apm_->kNoError,
|
||||
apm_->echo_cancellation()->enable_drift_compensation(false));
|
||||
@ -836,6 +836,9 @@ TEST_F(ApmTest, DISABLED_ON_ANDROID(EchoCancellationReportsCorrectDelays)) {
|
||||
EXPECT_EQ(apm_->kNoError,
|
||||
apm_->echo_cancellation()->enable_delay_logging(true));
|
||||
EXPECT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(true));
|
||||
Config config;
|
||||
config.Set<ReportedDelay>(new ReportedDelay(true));
|
||||
apm_->SetExtraOptions(config);
|
||||
|
||||
// Internally in the AEC the amount of lookahead the delay estimation can
|
||||
// handle is 15 blocks and the maximum delay is set to 60 blocks.
|
||||
|
||||
Reference in New Issue
Block a user