| Index: media/audio/agc_audio_stream.h
|
| diff --git a/media/audio/agc_audio_stream.h b/media/audio/agc_audio_stream.h
|
| index b0117e1962c1e9b7619bd0ef6c2671b3e8fc9ed2..1d5ad93ee50aad49755727cdc0ce027c5404bf08 100644
|
| --- a/media/audio/agc_audio_stream.h
|
| +++ b/media/audio/agc_audio_stream.h
|
| @@ -132,6 +132,12 @@ class MEDIA_EXPORT AgcAudioStream : public AudioInterface {
|
| *normalized_volume = normalized_volume_;
|
| }
|
|
|
| + // Gets the current automatic gain control state.
|
| + bool GetAutomaticGainControl() override {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + return agc_is_enabled_;
|
| + }
|
| +
|
| private:
|
| // Sets the automatic gain control (AGC) to on or off. When AGC is enabled,
|
| // the microphone volume is queried periodically and the volume level can
|
| @@ -145,12 +151,6 @@ class MEDIA_EXPORT AgcAudioStream : public AudioInterface {
|
| return true;
|
| }
|
|
|
| - // Gets the current automatic gain control state.
|
| - bool GetAutomaticGainControl() override {
|
| - DCHECK(thread_checker_.CalledOnValidThread());
|
| - return agc_is_enabled_;
|
| - }
|
| -
|
| // Takes a new microphone volume sample and stores it in |normalized_volume_|.
|
| // Range is normalized to [0.0,1.0] or [0.0, 1.5] on Linux.
|
| // This method is called periodically when AGC is enabled and always on the
|
|
|