Index: webrtc/modules/audio_processing/echo_cancellation_unittest.cc |
diff --git a/webrtc/modules/audio_processing/echo_cancellation_unittest.cc b/webrtc/modules/audio_processing/echo_cancellation_unittest.cc |
index ccf80f3ff564bbfccbf151bd9d38a9ff80225bb0..f09e23b3c7a30d83c88702aa5a05f9aab4dff237 100644 |
--- a/webrtc/modules/audio_processing/echo_cancellation_unittest.cc |
+++ b/webrtc/modules/audio_processing/echo_cancellation_unittest.cc |
@@ -125,10 +125,10 @@ void RunBitexactnessTest(int sample_rate_hz, |
// preceeding frames as testvectors. As the algorithm being tested has a |
// memory, testing only the last frame implicitly also tests the preceeding |
// frames. |
- const float kTolerance = 1.0f / 32768.0f; |
- EXPECT_TRUE(test::BitExactFrame( |
+ const float kElementErrorBound = 1.0f / 32768.0f; |
+ EXPECT_TRUE(test::StackedFrameDifferenceBounded( |
capture_config.num_frames(), capture_config.num_channels(), |
- output_reference, capture_output, kTolerance)); |
+ output_reference, capture_output, kElementErrorBound)); |
} |
const bool kStreamHasEchoReference = false; |