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

Unified Diff: webrtc/common_audio/channel_buffer.cc

Issue 1982183002: Pull out the PostFilter to its own NonlinearBeamformer API (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Change Beamformer::ProcessChunk() to have one parameter Created 4 years, 7 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/common_audio/channel_buffer.cc
diff --git a/webrtc/common_audio/channel_buffer.cc b/webrtc/common_audio/channel_buffer.cc
index 349d4245ccdb6e472db3cb60ee3a951c1e333b3b..3c43b3bf3e923a1a711d2c012b7a18bd717b73c7 100644
--- a/webrtc/common_audio/channel_buffer.cc
+++ b/webrtc/common_audio/channel_buffer.cc
@@ -54,6 +54,7 @@ void IFChannelBuffer::RefreshF() const {
float_channels[i][j] = int_channels[i][j];
}
}
+ fbuf_.set_num_channels(ibuf_.num_channels());
fvalid_ = true;
}
}
@@ -68,6 +69,7 @@ void IFChannelBuffer::RefreshI() const {
ibuf_.num_frames(),
int_channels[i]);
}
+ ibuf_.set_num_channels(fbuf_.num_channels());
ivalid_ = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698