AEC3: Add multichannel support to the residual echo estimator
This CL adds support for multichannel in the residual echo estimator code. It also adds placeholder functionality in the surrounding code to ensure that the residual echo estimator receives the require inputs. The changes in the CL has been shown to be bitexact on a large set of mono recordings. Bug: webrtc:10913 Change-Id: I726128ca928648b1dcf36c5f479eb243f3ff3f96 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/155361 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29400}
This commit is contained in:
@ -170,7 +170,7 @@ void RunNormalUsageTest(size_t num_render_channels,
|
||||
{
|
||||
// Note that the render spectrum is built so it does not have energy in
|
||||
// the odd bands but just in the even bands.
|
||||
const auto& erle = state.Erle();
|
||||
const auto& erle = state.Erle()[0];
|
||||
EXPECT_EQ(erle[0], erle[1]);
|
||||
constexpr size_t kLowFrequencyLimit = 32;
|
||||
for (size_t k = 2; k < kLowFrequencyLimit; k = k + 2) {
|
||||
@ -195,7 +195,7 @@ void RunNormalUsageTest(size_t num_render_channels,
|
||||
|
||||
ASSERT_TRUE(state.UsableLinearEstimate());
|
||||
{
|
||||
const auto& erle = state.Erle();
|
||||
const auto& erle = state.Erle()[0];
|
||||
EXPECT_EQ(erle[0], erle[1]);
|
||||
constexpr size_t kLowFrequencyLimit = 32;
|
||||
for (size_t k = 1; k < kLowFrequencyLimit; ++k) {
|
||||
|
||||
Reference in New Issue
Block a user