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

Unified Diff: webrtc/modules/audio_processing/echo_cancellation_impl.cc

Issue 1695743004: Removing the use of the soon-to-be-removed echo_cancellation_impl (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
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),

Powered by Google App Engine
This is Rietveld 408576698