AEC3: Decrease the modelling of the reverb
This CL lowers the default reverb decay to better match the standard rooms where calls are made. Bug: webrtc:9843 Change-Id: I46f1a629ecfdd72561829326d4fa58ede8107b6c Reviewed-on: https://webrtc-review.googlesource.com/c/104740 Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25061}
This commit is contained in:
@ -62,6 +62,10 @@ bool EnableUnityNonZeroRampupGain() {
|
||||
return field_trial::IsEnabled("WebRTC-Aec3EnableUnityNonZeroRampupGain");
|
||||
}
|
||||
|
||||
bool EnableLongReverb() {
|
||||
return field_trial::IsEnabled("WebRTC-Aec3ShortReverbKillSwitch");
|
||||
}
|
||||
|
||||
// Method for adjusting config parameter dependencies..
|
||||
EchoCanceller3Config AdjustConfig(const EchoCanceller3Config& config) {
|
||||
EchoCanceller3Config adjusted_cfg = config;
|
||||
@ -147,6 +151,10 @@ EchoCanceller3Config AdjustConfig(const EchoCanceller3Config& config) {
|
||||
adjusted_cfg.echo_removal_control.gain_rampup.first_non_zero_gain = 1.f;
|
||||
}
|
||||
|
||||
if (EnableLongReverb()) {
|
||||
adjusted_cfg.ep_strength.default_len = 0.88f;
|
||||
}
|
||||
|
||||
return adjusted_cfg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user