| Index: webrtc/modules/audio_processing/aec3/erle_estimator.h
|
| diff --git a/webrtc/modules/audio_processing/aec3/erle_estimator.h b/webrtc/modules/audio_processing/aec3/erle_estimator.h
|
| index 48bb75a66825b1a315bfe3baa24fd5621544feb5..91a8c6ceb8882531726ca835b3d4cb25f1b14033 100644
|
| --- a/webrtc/modules/audio_processing/aec3/erle_estimator.h
|
| +++ b/webrtc/modules/audio_processing/aec3/erle_estimator.h
|
| @@ -21,7 +21,7 @@ namespace webrtc {
|
| // Estimates the echo return loss enhancement based on the signal spectra.
|
| class ErleEstimator {
|
| public:
|
| - ErleEstimator();
|
| + ErleEstimator(float min_erle, float max_erle_lf, float max_erle_hf);
|
| ~ErleEstimator();
|
|
|
| // Updates the ERLE estimate.
|
| @@ -35,6 +35,9 @@ class ErleEstimator {
|
| private:
|
| std::array<float, kFftLengthBy2Plus1> erle_;
|
| std::array<int, kFftLengthBy2Minus1> hold_counters_;
|
| + const float min_erle_;
|
| + const float max_erle_lf_;
|
| + const float max_erle_hf_;
|
|
|
| RTC_DISALLOW_COPY_AND_ASSIGN(ErleEstimator);
|
| };
|
|
|