Chromium Code Reviews| Index: content/common/media/audio_messages.h |
| diff --git a/content/common/media/audio_messages.h b/content/common/media/audio_messages.h |
| index 03d73a9399b9c1d0b356e058d7004daaec492d75..2246ce6fcdf26d1d441461ddc15be7ec88d53c5b 100644 |
| --- a/content/common/media/audio_messages.h |
| +++ b/content/common/media/audio_messages.h |
| @@ -101,10 +101,11 @@ IPC_MESSAGE_CONTROL2(AudioHostMsg_CreateStream, |
| AudioParameters /* params */) |
| // Request that got sent to browser for creating an audio input stream |
| -IPC_MESSAGE_CONTROL3(AudioInputHostMsg_CreateStream, |
| +IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream, |
| int /* stream_id */, |
| AudioParameters /* params */, |
| - std::string /* device_id */) |
| + std::string /* device_id */, |
| + bool /* atomatic_gain_control */) |
|
scherkus (not reviewing)
2012/03/20 13:49:41
typo
henrika (OOO until Aug 14)
2012/03/21 10:16:04
Thanks.
|
| // Start buffering and play the audio stream specified by stream_id. |
| IPC_MESSAGE_CONTROL1(AudioHostMsg_PlayStream, |
| @@ -151,3 +152,8 @@ IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, |
| IPC_MESSAGE_CONTROL2(AudioInputHostMsg_StartDevice, |
| int /* stream_id */, |
| int /* session_id */) |
| + |
| +// Set automatic gain control state of the input stream specified by stream_id. |
| +IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetAutomaticGainControl, |
| + int /* stream_id */, |
| + bool /* enabled */) |