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

Unified Diff: webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc

Issue 2784023002: Major AEC3 render pipeline changes (Closed)
Patch Set: Changes in response to reviewer comments Created 3 years, 9 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/test/aec_dump_based_simulator.cc
diff --git a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
index f444967a108955069df3002f0c934e108b83e09a..0b0c18a42577ec94c1ef5f49fb6f916fcc610e1d 100644
--- a/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
+++ b/webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc
@@ -89,11 +89,11 @@ void AecDumpBasedSimulator::PrepareProcessStreamCall(
interface_used_ == InterfaceType::kNotSpecified);
interface_used_ = InterfaceType::kFloatInterface;
- RTC_CHECK_EQ(in_buf_->num_channels(),
- static_cast<size_t>(msg.input_channel_size()));
+ // RTC_CHECK_EQ(in_buf_->num_channels(),
+ // static_cast<size_t>(msg.input_channel_size()));
// Populate input buffer.
- for (int i = 0; i < msg.input_channel_size(); ++i) {
+ for (size_t i = 0; i < in_buf_->num_channels(); ++i) {
RTC_CHECK_EQ(in_buf_->num_frames() * sizeof(*in_buf_->channels()[i]),
msg.input_channel(i).size());
std::memcpy(in_buf_->channels()[i], msg.input_channel(i).data(),

Powered by Google App Engine
This is Rietveld 408576698