Index: webrtc/modules/audio_processing/echo_cancellation_impl.cc |
diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl.cc b/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
index debc597c540dd0d44ea50cf4be6463fe38c27698..37ed47b165ffab6cb9901d2e8768ec5905c7c806 100644 |
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
@@ -415,6 +415,13 @@ int EchoCancellationImpl::Initialize() { |
return AudioProcessing::kNoError; |
} |
+int EchoCancellationImpl::GetSystemDelayInSamples() const { |
+ rtc::CritScope cs(crit_capture_); |
+ // Report the delay for the first AEC component. |
the sun
2016/02/17 11:39:03
RTC_DCHECK(is_component_enabled()) ?
peah-webrtc
2016/03/04 09:46:25
Done.
|
+ return WebRtcAec_system_delay( |
+ WebRtcAec_aec_core(static_cast<Handle*>(handle(0)))); |
+} |
+ |
void EchoCancellationImpl::AllocateRenderQueue() { |
const size_t new_render_queue_element_max_size = std::max<size_t>( |
static_cast<size_t>(1), |