Chromium Code Reviews| Index: webrtc/modules/audio_processing/aec/aec_core.h |
| diff --git a/webrtc/modules/audio_processing/aec/aec_core.h b/webrtc/modules/audio_processing/aec/aec_core.h |
| index 1ab20201860d9490f04033c2869c6ce2d90a1a90..654e2b2d0a5b64192682442f66d2a7f58927082b 100644 |
| --- a/webrtc/modules/audio_processing/aec/aec_core.h |
| +++ b/webrtc/modules/audio_processing/aec/aec_core.h |
| @@ -128,16 +128,16 @@ struct AecCore { |
| int inSamples, outSamples; |
| int delayEstCtr; |
| - RingBuffer* nearFrBuf; |
| + float nearend_buffer[NUM_HIGH_BANDS_MAX + 1] |
| + [PART_LEN - (FRAME_LEN - PART_LEN)]; |
|
hlundin-webrtc
2016/09/07 21:28:46
Please, explain the sizes.
peah-webrtc
2016/09/08 09:50:26
Done.
|
| + int nearend_buffer_size; |
| RingBuffer* outFrBuf; |
| - RingBuffer* nearFrBufH[NUM_HIGH_BANDS_MAX]; |
| RingBuffer* outFrBufH[NUM_HIGH_BANDS_MAX]; |
| - float dBuf[PART_LEN2]; // nearend |
| float eBuf[PART_LEN2]; // error |
| - float dBufH[NUM_HIGH_BANDS_MAX][PART_LEN2]; // nearend |
| + float previous_nearend_block[NUM_HIGH_BANDS_MAX + 1][PART_LEN]; |
| float xPow[PART_LEN1]; |
| float dPow[PART_LEN1]; |