| Index: webrtc/modules/audio_processing/aec/aec_core_internal.h
|
| diff --git a/webrtc/modules/audio_processing/aec/aec_core_internal.h b/webrtc/modules/audio_processing/aec/aec_core_internal.h
|
| index 810d517834fe07d31793d8dfb89cc686a64ef4bf..840264bf9802329ec351a29904d3817e8947862f 100644
|
| --- a/webrtc/modules/audio_processing/aec/aec_core_internal.h
|
| +++ b/webrtc/modules/audio_processing/aec/aec_core_internal.h
|
| @@ -17,6 +17,7 @@ extern "C" {
|
| #include "webrtc/common_audio/wav_file.h"
|
| #include "webrtc/modules/audio_processing/aec/aec_common.h"
|
| #include "webrtc/modules/audio_processing/aec/aec_core.h"
|
| +#include "webrtc/modules/audio_processing/utility/mean_calculator.h"
|
| #include "webrtc/typedefs.h"
|
|
|
| namespace webrtc {
|
| @@ -40,16 +41,16 @@ static const float kExtendedMu = 0.4f;
|
| static const float kExtendedErrorThreshold = 1.0e-6f;
|
|
|
| typedef struct PowerLevel {
|
| - float sfrsum;
|
| - int sfrcounter;
|
| - float framelevel;
|
| - float frsum;
|
| - int frcounter;
|
| + PowerLevel();
|
| +
|
| + MeanCalculator framelevel;
|
| + MeanCalculator averagelevel;
|
| float minlevel;
|
| - float averagelevel;
|
| } PowerLevel;
|
|
|
| struct AecCore {
|
| + AecCore();
|
| +
|
| int farBufWritePos, farBufReadPos;
|
|
|
| int knownDelay;
|
|
|