Added boilerplate code for being able to test the upcoming

AEC functionality.

BUG=webrtc:5201

Review URL: https://codereview.webrtc.org/1700703005

Cr-Commit-Position: refs/heads/master@{#11647}
This commit is contained in:
peah
2016-02-17 01:11:16 -08:00
committed by Commit bot
parent 0206000a66
commit a332e2d3af
8 changed files with 50 additions and 1 deletions

View File

@ -69,6 +69,17 @@ struct ExtendedFilter {
bool enabled;
};
// Enables the next generation AEC functionality. This feature replaces the
// standard methods for echo removal in the AEC. This configuration only applies
// to EchoCancellation and not EchoControlMobile. It can be set in the
// constructor or using AudioProcessing::SetExtraOptions().
struct NextGenerationAec {
NextGenerationAec() : enabled(false) {}
explicit NextGenerationAec(bool enabled) : enabled(enabled) {}
static const ConfigOptionID identifier = ConfigOptionID::kNextGenerationAec;
bool enabled;
};
// Enables delay-agnostic echo cancellation. This feature relies on internally
// estimated delays between the process and reverse streams, thus not relying
// on reported system delays. This configuration only applies to