Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: content/common/media/audio_messages.h

Issue 9702019: Adds Analog Gain Control (AGC) to the WebRTC client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved volume updating on Mac Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */)

Powered by Google App Engine
This is Rietveld 408576698