AEC3: Enabling by default the use of the stationarity properties at render at init
In this CL the use of the stationarity properties at init is set to true by default. Bug: webrtc:9865, chromium:894439 Change-Id: I716ce0d792a50616dc38cc0ba6f2c702549a81cc Reviewed-on: https://webrtc-review.googlesource.com/c/105303 Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Jesus de Vicente Pena <devicentepena@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25123}
This commit is contained in:

committed by
Commit Bot

parent
5350d1cafd
commit
74cd1ef9f5
@ -100,7 +100,7 @@ struct RTC_EXPORT EchoCanceller3Config {
|
||||
float audibility_threshold_mf = 10;
|
||||
float audibility_threshold_hf = 10;
|
||||
bool use_stationary_properties = true;
|
||||
bool use_stationarity_properties_at_init = false;
|
||||
bool use_stationarity_properties_at_init = true;
|
||||
} echo_audibility;
|
||||
|
||||
struct RenderLevels {
|
||||
|
@ -70,6 +70,11 @@ bool DeactivateStationarityProperties() {
|
||||
"WebRTC-Aec3UseStationarityPropertiesKillSwitch");
|
||||
}
|
||||
|
||||
bool DeactivateStationarityPropertiesAtInit() {
|
||||
return field_trial::IsEnabled(
|
||||
"WebRTC-Aec3UseStationarityPropertiesAtInitKillSwitch");
|
||||
}
|
||||
|
||||
// Method for adjusting config parameter dependencies..
|
||||
EchoCanceller3Config AdjustConfig(const EchoCanceller3Config& config) {
|
||||
EchoCanceller3Config adjusted_cfg = config;
|
||||
@ -138,6 +143,10 @@ EchoCanceller3Config AdjustConfig(const EchoCanceller3Config& config) {
|
||||
adjusted_cfg.echo_audibility.use_stationary_properties = false;
|
||||
}
|
||||
|
||||
if (DeactivateStationarityPropertiesAtInit()) {
|
||||
adjusted_cfg.echo_audibility.use_stationarity_properties_at_init = false;
|
||||
}
|
||||
|
||||
return adjusted_cfg;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user