Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: webrtc/modules/audio_processing/aec/aec_core.h

Issue 2321483002: Refactoring of the buffering of the output signal done inside the AEC (Closed)
Patch Set: New testvectors Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « data/audio_processing/output_data_mac.pb ('k') | webrtc/modules/audio_processing/aec/aec_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8f4bc89cdac53d55814896826e20b9107eb6f258..4f2db63108fc99f20286e32b4656cf111a4a05e1 100644
--- a/webrtc/modules/audio_processing/aec/aec_core.h
+++ b/webrtc/modules/audio_processing/aec/aec_core.h
@@ -134,10 +134,9 @@ struct AecCore {
// change the block size from FRAME_LEN to PART_LEN.
float nearend_buffer[NUM_HIGH_BANDS_MAX + 1]
[PART_LEN - (FRAME_LEN - PART_LEN)];
- int nearend_buffer_size;
- RingBuffer* outFrBuf;
-
- RingBuffer* outFrBufH[NUM_HIGH_BANDS_MAX];
+ size_t nearend_buffer_size;
+ float output_buffer[NUM_HIGH_BANDS_MAX + 1][2 * PART_LEN];
+ size_t output_buffer_size;
float eBuf[PART_LEN2]; // error
« no previous file with comments | « data/audio_processing/output_data_mac.pb ('k') | webrtc/modules/audio_processing/aec/aec_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698