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 a323736a56d32b8e0aed436a3d0d9c2cf12bbda1..168391145f7854cd10dff716b4a003874cce42d1 100644 |
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.cc |
@@ -275,6 +275,12 @@ int EchoCancellationImpl::Enable(bool enable) { |
return AudioProcessing::kNoError; |
} |
+bool EchoCancellationImpl::is_enabled_render_side_query() const { |
+ // TODO(peah): Add threadchecker. |
+ rtc::CritScope cs_render(crit_render_); |
+ return enabled_; |
+} |
+ |
bool EchoCancellationImpl::is_enabled() const { |
rtc::CritScope cs(crit_capture_); |
return enabled_; |