AEC3: Adaptive handling of echo path with strong high-frequency gain
This CL adds adaptive handling of platforms where the echo path has a strong gain above 10 kHz. A configurable offset is adaptively applied depending on the amount of echo and mode of the echo suppressor. Bug: webrtc:9663 Change-Id: I27dde6dc23b04a76a3be8c49d7fc9e226b9137e6 Reviewed-on: https://webrtc-review.googlesource.com/95947 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24448}
This commit is contained in:
@ -367,6 +367,14 @@ class Aec3ParametersParser {
|
||||
&cfg.suppressor.dominant_nearend_detection.trigger_threshold);
|
||||
}
|
||||
|
||||
if (rtc::GetValueFromJsonObject(section, "high_bands_suppression",
|
||||
&subsection)) {
|
||||
ReadParam(subsection, "enr_threshold",
|
||||
&cfg.suppressor.high_bands_suppression.enr_threshold);
|
||||
ReadParam(subsection, "max_gain_during_echo",
|
||||
&cfg.suppressor.high_bands_suppression.max_gain_during_echo);
|
||||
}
|
||||
|
||||
ReadParam(section, "floor_first_increase",
|
||||
&cfg.suppressor.floor_first_increase);
|
||||
ReadParam(section, "enforce_transparent",
|
||||
|
||||
Reference in New Issue
Block a user