Index: webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
diff --git a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
index 2d5ba35c3487138f562d6f05b05ccd3c2a5b3279..97f69974dbadd58e3864e3619d204847c3bfbec7 100644 |
--- a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
+++ b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
@@ -278,6 +278,12 @@ int EchoControlMobileImpl::Enable(bool enable) { |
return AudioProcessing::kNoError; |
} |
+bool EchoControlMobileImpl::is_enabled_render_side_query() const { |
+ // TODO(peah): Add threadchecker. |
+ rtc::CritScope cs_render(crit_render_); |
+ return enabled_; |
+} |
+ |
bool EchoControlMobileImpl::is_enabled() const { |
rtc::CritScope cs(crit_capture_); |
return enabled_; |