Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Unified Diff: webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc

Issue 2784023002: Major AEC3 render pipeline changes (Closed)
Patch Set: Disabled one more DEATH test that caused issues due to bug on bots Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc
diff --git a/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc b/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc
index 760c5e59b770a9486d9665fb9fbeb00276690fb3..0d3d1835377c7cff4812ebe3d57d6e8c673f8f13 100644
--- a/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc
+++ b/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc
@@ -55,7 +55,7 @@ void ProduceDecimatedSinusoidalOutputPower(int sample_rate_hz,
decimator.Decimate(
rtc::ArrayView<const float>(&input[k * kBlockSize], kBlockSize),
- &sub_block);
+ sub_block);
std::copy(sub_block.begin(), sub_block.end(),
output.begin() + k * kSubBlockSize);
@@ -112,7 +112,7 @@ TEST(DecimatorBy4, WrongInputSize) {
DecimatorBy4 decimator;
std::vector<float> x(std::vector<float>(kBlockSize - 1, 0.f));
std::array<float, kSubBlockSize> x_downsampled;
- EXPECT_DEATH(decimator.Decimate(x, &x_downsampled), "");
+ EXPECT_DEATH(decimator.Decimate(x, x_downsampled), "");
}
// Verifies the check for non-null output parameter.

Powered by Google App Engine
This is Rietveld 408576698