AEC3: Parametrize the delay estimator to leverage strong echo paths
This CL introduces a new behavior for leveraging early information about the delay that is acquired before the standard delay estimate has been established. To simplify the process of setting the parameters for that, the CL also surfaces the delay estimator parameters to the config struct. Bug: webrtc:9720,chromium: 880686 Change-Id: If886813f70cd805bd37752c63913d28398f1c6fe Reviewed-on: https://webrtc-review.googlesource.com/97860 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24614}
This commit is contained in:
@ -222,6 +222,19 @@ class Aec3ParametersParser {
|
||||
&cfg.delay.skew_hysteresis_blocks);
|
||||
ReadParam(section, "fixed_capture_delay_samples",
|
||||
&cfg.delay.fixed_capture_delay_samples);
|
||||
ReadParam(section, "delay_estimate_smoothing",
|
||||
&cfg.delay.delay_estimate_smoothing);
|
||||
ReadParam(section, "delay_candidate_detection_threshold",
|
||||
&cfg.delay.delay_candidate_detection_threshold);
|
||||
|
||||
Json::Value subsection;
|
||||
if (rtc::GetValueFromJsonObject(section, "delay_selection_thresholds",
|
||||
&subsection)) {
|
||||
ReadParam(subsection, "initial",
|
||||
&cfg.delay.delay_selection_thresholds.initial);
|
||||
ReadParam(subsection, "converged",
|
||||
&cfg.delay.delay_selection_thresholds.converged);
|
||||
}
|
||||
}
|
||||
|
||||
if (rtc::GetValueFromJsonObject(root, "filter", §ion)) {
|
||||
|
||||
Reference in New Issue
Block a user