Index: webrtc/modules/audio_processing/echo_control_mobile_impl.h |
diff --git a/webrtc/modules/audio_processing/echo_control_mobile_impl.h b/webrtc/modules/audio_processing/echo_control_mobile_impl.h |
index c59a69610dd893b6fb121795f60b0aadd59608a0..97e24075def88a10a19786d62b977a7463ca4e34 100644 |
--- a/webrtc/modules/audio_processing/echo_control_mobile_impl.h |
+++ b/webrtc/modules/audio_processing/echo_control_mobile_impl.h |
@@ -43,6 +43,11 @@ class EchoControlMobileImpl : public EchoControlMobile { |
size_t num_reverse_channels, |
size_t num_output_channels); |
+ // Checks whether the module is enabled. Must only be |
+ // called from the render side of APM as otherwise |
+ // deadlocks may occur. |
+ bool is_enabled_render_side_query() const; |
+ |
// Reads render side data that has been queued on the render call. |
void ReadQueuedRenderData(); |