| Index: media/audio/mac/audio_low_latency_input_mac.cc
|
| diff --git a/media/audio/mac/audio_low_latency_input_mac.cc b/media/audio/mac/audio_low_latency_input_mac.cc
|
| index cf9d180a4b92df06c9fefe492d7764d8a0f3c67c..146b694c45fa72616f18b7aa64fa81df7930553d 100644
|
| --- a/media/audio/mac/audio_low_latency_input_mac.cc
|
| +++ b/media/audio/mac/audio_low_latency_input_mac.cc
|
| @@ -483,11 +483,11 @@ OSStatus AUAudioInputStream::Provide(UInt32 number_of_frames,
|
| // Update the capture latency.
|
| double capture_latency_frames = GetCaptureLatency(time_stamp);
|
|
|
| - // Update the AGC volume level once every second. Note that, |volume| is
|
| - // also updated each time SetVolume() is called through IPC by the
|
| - // render-side AGC.
|
| + // The AGC volume level is updated once every second on a separate thread.
|
| + // Note that, |volume| is also updated each time SetVolume() is called
|
| + // through IPC by the render-side AGC.
|
| double normalized_volume = 0.0;
|
| - QueryAgcVolume(&normalized_volume);
|
| + GetAgcVolume(&normalized_volume);
|
|
|
| AudioBuffer& buffer = io_data->mBuffers[0];
|
| uint8* audio_data = reinterpret_cast<uint8*>(buffer.mData);
|
|
|