| 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 3a6fcb116d53644f95973a4f59f0620f79efdc8c..6120d3d8c36d18ee89a74ad880d9ac12c8700151 100644
|
| --- a/webrtc/modules/audio_processing/gain_control_impl.cc
|
| +++ b/webrtc/modules/audio_processing/gain_control_impl.cc
|
| @@ -274,6 +274,11 @@ int GainControlImpl::ProcessCaptureAudio(AudioBuffer* audio,
|
| return AudioProcessing::kNoError;
|
| }
|
|
|
| +int GainControlImpl::compression_gain_db() const {
|
| + rtc::CritScope cs(crit_capture_);
|
| + return compression_gain_db_;
|
| +}
|
| +
|
| // TODO(ajm): ensure this is called under kAdaptiveAnalog.
|
| int GainControlImpl::set_stream_analog_level(int level) {
|
| rtc::CritScope cs(crit_capture_);
|
| @@ -413,11 +418,6 @@ int GainControlImpl::set_compression_gain_db(int gain) {
|
| return Configure();
|
| }
|
|
|
| -int GainControlImpl::compression_gain_db() const {
|
| - rtc::CritScope cs(crit_capture_);
|
| - return compression_gain_db_;
|
| -}
|
| -
|
| int GainControlImpl::enable_limiter(bool enable) {
|
| {
|
| rtc::CritScope cs(crit_capture_);
|
|
|