Chromium Code Reviews| Index: webrtc/modules/audio_processing/aec/aec_core.c |
| diff --git a/webrtc/modules/audio_processing/aec/aec_core.c b/webrtc/modules/audio_processing/aec/aec_core.c |
| index f80a7da48a3fd3eb0eb4d8283737ad4951561978..ad4d7871c49d7502bdc2be392d09326fae1f9ca9 100644 |
| --- a/webrtc/modules/audio_processing/aec/aec_core.c |
| +++ b/webrtc/modules/audio_processing/aec/aec_core.c |
| @@ -1430,6 +1430,7 @@ AecCore* WebRtcAec_CreateAec() { |
| WebRtc_set_lookahead(aec->delay_estimator, kLookaheadBlocks); |
| #endif |
| aec->extended_filter_enabled = 0; |
| + aec->next_generation_aec_enabled = 0; |
| // Assembly optimization |
| WebRtcAec_FilterFar = FilterFar; |
| @@ -1863,6 +1864,15 @@ int WebRtcAec_delay_agnostic_enabled(AecCore* self) { |
| return self->delay_agnostic_enabled; |
| } |
| +void WebRtcAec_enable_next_generation_aec(AecCore* self, int enable) { |
| + self->next_generation_aec_enabled = enable; |
|
hlundin-webrtc
2016/02/16 07:49:19
In the declaration of self->next_generation_aec_en
peah-webrtc
2016/02/16 12:51:34
Done.
|
| +} |
| + |
| +int WebRtcAec_next_generation_aec_enabled(AecCore* self) { |
| + return self->next_generation_aec_enabled; |
|
hlundin-webrtc
2016/02/16 07:49:20
assert(self->next_generation_aec_enabled == 0 || s
peah-webrtc
2016/02/16 12:51:34
Done.
|
| +} |
| + |
| + |
| void WebRtcAec_enable_extended_filter(AecCore* self, int enable) { |
| self->extended_filter_enabled = enable; |
| self->num_partitions = enable ? kExtendedNumPartitions : kNormalNumPartitions; |