AEC3: Removing unused parameters
This CL removes parameters for AEC3 which are no longer used. To reflect that change, one of the parameters also is renamed Bug: chromium:941949,webrtc:8671 Change-Id: I26609b396fa14ecb7523eebfe531a1338718103b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127780 Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27128}
This commit is contained in:
@ -50,7 +50,7 @@ FilterAnalyzer::FilterAnalyzer(const EchoCanceller3Config& config)
|
||||
: data_dumper_(
|
||||
new ApmDataDumper(rtc::AtomicOps::Increment(&instance_count_))),
|
||||
bounded_erl_(config.ep_strength.bounded_erl),
|
||||
default_gain_(config.ep_strength.lf),
|
||||
default_gain_(config.ep_strength.default_gain),
|
||||
h_highpass_(GetTimeDomainLength(config.filter.main.length_blocks), 0.f),
|
||||
filter_length_blocks_(config.filter.main_initial.length_blocks),
|
||||
consistent_filter_detector_(config) {
|
||||
|
||||
@ -113,7 +113,7 @@ void ResidualEchoEstimator::Estimate(
|
||||
|
||||
float echo_path_gain;
|
||||
echo_path_gain =
|
||||
aec_state.TransparentMode() ? 0.01f : config_.ep_strength.lf;
|
||||
aec_state.TransparentMode() ? 0.01f : config_.ep_strength.default_gain;
|
||||
NonLinearEstimate(echo_path_gain, X2, Y2, R2);
|
||||
|
||||
// When there is saturated echo, assume the same spectral content as is
|
||||
|
||||
Reference in New Issue
Block a user