AEC3: Remove deprecated parameter
Bug: webrtc:8671 Change-Id: Ia9bcfef9d626729b79fdcce5e8df82bf020dc9af Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173321 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31042}
This commit is contained in:
parent
9f6ff832d9
commit
e156287855
@ -90,9 +90,6 @@ struct RTC_EXPORT EchoCanceller3Config {
|
||||
bool enable_coarse_filter_output_usage = true;
|
||||
bool use_linear_filter = true;
|
||||
bool export_linear_aec_output = false;
|
||||
// Deprecated.
|
||||
// TODO(peah): Remove.
|
||||
bool use_legacy_filter_naming = false;
|
||||
} filter;
|
||||
|
||||
struct Erle {
|
||||
|
||||
@ -230,8 +230,6 @@ void Aec3ConfigFromJsonString(absl::string_view json_string,
|
||||
ReadParam(section, "use_linear_filter", &cfg.filter.use_linear_filter);
|
||||
ReadParam(section, "export_linear_aec_output",
|
||||
&cfg.filter.export_linear_aec_output);
|
||||
ReadParam(section, "use_legacy_filter_naming",
|
||||
&cfg.filter.use_legacy_filter_naming);
|
||||
}
|
||||
|
||||
if (rtc::GetValueFromJsonObject(aec3_root, "erle", §ion)) {
|
||||
@ -508,9 +506,7 @@ std::string Aec3ConfigToJsonString(const EchoCanceller3Config& config) {
|
||||
ost << "\"use_linear_filter\": "
|
||||
<< (config.filter.use_linear_filter ? "true" : "false") << ",";
|
||||
ost << "\"export_linear_aec_output\": "
|
||||
<< (config.filter.export_linear_aec_output ? "true" : "false") << ",";
|
||||
ost << "\"use_legacy_filter_naming\": "
|
||||
<< (config.filter.use_legacy_filter_naming ? "true" : "false");
|
||||
<< (config.filter.export_linear_aec_output ? "true" : "false");
|
||||
|
||||
ost << "},";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user