Index: webrtc/modules/audio_processing/echo_cancellation_impl.h |
diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl.h b/webrtc/modules/audio_processing/echo_cancellation_impl.h |
index b91d23d823efc99a560bba4e31cae087a51f5658..813019f424c1dbecdce5539e0730502187b24567 100644 |
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.h |
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.h |
@@ -48,6 +48,11 @@ class EchoCancellationImpl : public EchoCancellation { |
bool is_extended_filter_enabled() const; |
bool is_aec3_enabled() const; |
+ // 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. |
// Called holding the capture lock. |
void ReadQueuedRenderData(); |