diff options
Diffstat (limited to 'modules/audio_processing/aec3/transparent_mode.cc')
-rw-r--r-- | modules/audio_processing/aec3/transparent_mode.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/audio_processing/aec3/transparent_mode.cc b/modules/audio_processing/aec3/transparent_mode.cc index 7cfa3e8eae..489f53f4f1 100644 --- a/modules/audio_processing/aec3/transparent_mode.cc +++ b/modules/audio_processing/aec3/transparent_mode.cc @@ -11,6 +11,7 @@ #include "modules/audio_processing/aec3/transparent_mode.h" #include "rtc_base/checks.h" +#include "rtc_base/logging.h" #include "system_wrappers/include/field_trial.h" namespace webrtc { @@ -228,11 +229,14 @@ class LegacyTransparentModeImpl : public TransparentMode { std::unique_ptr<TransparentMode> TransparentMode::Create( const EchoCanceller3Config& config) { if (config.ep_strength.bounded_erl || DeactivateTransparentMode()) { + RTC_LOG(LS_INFO) << "AEC3 Transparent Mode: Disabled"; return nullptr; } if (ActivateTransparentModeHmm()) { + RTC_LOG(LS_INFO) << "AEC3 Transparent Mode: HMM"; return std::make_unique<TransparentModeImpl>(); } + RTC_LOG(LS_INFO) << "AEC3 Transparent Mode: Legacy"; return std::make_unique<LegacyTransparentModeImpl>(config); } |