Index: webrtc/modules/audio_processing/aec3/aec_state.cc |
diff --git a/webrtc/modules/audio_processing/aec3/aec_state.cc b/webrtc/modules/audio_processing/aec3/aec_state.cc |
index de4a0c16eb5670f773b472922a67145a0a870768..316f8887179172c67bc0d542eaa9790ad6dc0b8a 100644 |
--- a/webrtc/modules/audio_processing/aec3/aec_state.cc |
+++ b/webrtc/modules/audio_processing/aec3/aec_state.cc |
@@ -78,10 +78,11 @@ constexpr int kEchoPathChangeCounterMax = 2 * kNumBlocksPerSecond; |
int AecState::instance_count_ = 0; |
-AecState::AecState() |
+AecState::AecState(float echo_decay) |
: data_dumper_( |
new ApmDataDumper(rtc::AtomicOps::Increment(&instance_count_))), |
- echo_path_change_counter_(kEchoPathChangeCounterInitial) {} |
+ echo_path_change_counter_(kEchoPathChangeCounterInitial), |
+ echo_decay_factor_(echo_decay) {} |
AecState::~AecState() = default; |