| Index: webrtc/modules/audio_processing/gain_control_impl.cc
|
| diff --git a/webrtc/modules/audio_processing/gain_control_impl.cc b/webrtc/modules/audio_processing/gain_control_impl.cc
|
| index d190284063cc1861f26175df90b5d7772a3fdc3f..3a6fcb116d53644f95973a4f59f0620f79efdc8c 100644
|
| --- a/webrtc/modules/audio_processing/gain_control_impl.cc
|
| +++ b/webrtc/modules/audio_processing/gain_control_impl.cc
|
| @@ -310,6 +310,12 @@ int GainControlImpl::Enable(bool enable) {
|
| return AudioProcessing::kNoError;
|
| }
|
|
|
| +bool GainControlImpl::is_enabled_render_side_query() const {
|
| + // TODO(peah): Add threadchecker.
|
| + rtc::CritScope cs(crit_render_);
|
| + return enabled_;
|
| +}
|
| +
|
| bool GainControlImpl::is_enabled() const {
|
| rtc::CritScope cs(crit_capture_);
|
| return enabled_;
|
|
|