From 3e0b60f4652f44d56c07cf2502f83ad22ffb134e Mon Sep 17 00:00:00 2001 From: "bjornv@webrtc.org" Date: Wed, 5 Mar 2014 00:18:53 +0000 Subject: [PATCH] Switch to correct interpretation of int and float input data in audio_processing_unittest BUG=N/A TESTED=trybots TBR=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9379004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5642 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../audio_processing/test/audio_processing_unittest.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webrtc/modules/audio_processing/test/audio_processing_unittest.cc b/webrtc/modules/audio_processing/test/audio_processing_unittest.cc index 899af0914c..c66c12ef3e 100644 --- a/webrtc/modules/audio_processing/test/audio_processing_unittest.cc +++ b/webrtc/modules/audio_processing/test/audio_processing_unittest.cc @@ -713,11 +713,11 @@ void ApmTest::StreamParametersTest(bool int_format) { } TEST_F(ApmTest, StreamParametersInt) { - StreamParametersTest(false); + StreamParametersTest(true); } TEST_F(ApmTest, StreamParametersFloat) { - StreamParametersTest(true); + StreamParametersTest(false); } TEST_F(ApmTest, DefaultDelayOffsetIsZero) { @@ -777,11 +777,11 @@ void ApmTest::SampleRatesTest(bool int_format) { } TEST_F(ApmTest, SampleRatesInt) { - SampleRatesTest(false); + SampleRatesTest(true); } TEST_F(ApmTest, SampleRatesFloat) { - SampleRatesTest(true); + SampleRatesTest(false); } TEST_F(ApmTest, EchoCancellation) {