Remove deprecated legacy AEC code
This CL removes the deprecated legacy AEC code. Note that this CL should not be landed before the M80 release has been cut. Bug: webrtc:11165 Change-Id: I59ee94526e62f702bb9fa9fa2d38c4e48f44753c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161238 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30036}
This commit is contained in:
@ -483,12 +483,6 @@ class CallSimulator : public ::testing::TestWithParam<SimulationConfig> {
|
||||
apm->ApplyConfig(apm_config);
|
||||
};
|
||||
|
||||
// Lambda function for adding default desktop APM settings to a config.
|
||||
auto add_default_desktop_config = [](Config* config) {
|
||||
config->Set<ExtendedFilter>(new ExtendedFilter(true));
|
||||
config->Set<DelayAgnostic>(new DelayAgnostic(true));
|
||||
};
|
||||
|
||||
int num_capture_channels = 1;
|
||||
switch (simulation_config_.simulation_settings) {
|
||||
case SettingsType::kDefaultApmMobile: {
|
||||
@ -499,7 +493,6 @@ class CallSimulator : public ::testing::TestWithParam<SimulationConfig> {
|
||||
}
|
||||
case SettingsType::kDefaultApmDesktop: {
|
||||
Config config;
|
||||
add_default_desktop_config(&config);
|
||||
apm_.reset(AudioProcessingBuilder().Create(config));
|
||||
ASSERT_TRUE(!!apm_);
|
||||
set_default_desktop_apm_runtime_settings(apm_.get());
|
||||
@ -514,8 +507,6 @@ class CallSimulator : public ::testing::TestWithParam<SimulationConfig> {
|
||||
}
|
||||
case SettingsType::kDefaultApmDesktopWithoutDelayAgnostic: {
|
||||
Config config;
|
||||
config.Set<ExtendedFilter>(new ExtendedFilter(true));
|
||||
config.Set<DelayAgnostic>(new DelayAgnostic(false));
|
||||
apm_.reset(AudioProcessingBuilder().Create(config));
|
||||
ASSERT_TRUE(!!apm_);
|
||||
set_default_desktop_apm_runtime_settings(apm_.get());
|
||||
@ -524,8 +515,6 @@ class CallSimulator : public ::testing::TestWithParam<SimulationConfig> {
|
||||
}
|
||||
case SettingsType::kDefaultApmDesktopWithoutExtendedFilter: {
|
||||
Config config;
|
||||
config.Set<ExtendedFilter>(new ExtendedFilter(false));
|
||||
config.Set<DelayAgnostic>(new DelayAgnostic(true));
|
||||
apm_.reset(AudioProcessingBuilder().Create(config));
|
||||
ASSERT_TRUE(!!apm_);
|
||||
set_default_desktop_apm_runtime_settings(apm_.get());
|
||||
|
Reference in New Issue
Block a user