Index: webrtc/modules/audio_processing/gain_control_impl.h |
diff --git a/webrtc/modules/audio_processing/gain_control_impl.h b/webrtc/modules/audio_processing/gain_control_impl.h |
index a7e787417c74fce8613677554b82484d8ab242cf..9498ac60b54237c8784b51e77a8606a65dcf683c 100644 |
--- a/webrtc/modules/audio_processing/gain_control_impl.h |
+++ b/webrtc/modules/audio_processing/gain_control_impl.h |
@@ -43,6 +43,11 @@ class GainControlImpl : public GainControl { |
bool is_limiter_enabled() const override; |
Mode mode() const override; |
+ // 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(); |