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

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

Issue 10836025: Part 1: Plumb render view ID to render host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 fd7f1f3065ce123fd0038612d67a3ec6726bc48b..85ac673d312348836ee157b7a2a45bfadff1867b 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -90,7 +90,8 @@ IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyDeviceStarted,
// Messages sent from the renderer to the browser.
// Request that got sent to browser for creating an audio output stream
-IPC_MESSAGE_CONTROL2(AudioHostMsg_CreateStream,
+IPC_MESSAGE_CONTROL3(AudioHostMsg_CreateStream,
+ int /* render view id */,
int /* stream_id */,
media::AudioParameters /* params */)
@@ -102,7 +103,8 @@ IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream,
bool /* automatic_gain_control */)
// Start buffering and play the audio stream specified by stream_id.
-IPC_MESSAGE_CONTROL1(AudioHostMsg_PlayStream,
+IPC_MESSAGE_CONTROL2(AudioHostMsg_PlayStream,
+ int /* render view id */,
int /* stream_id */)
// Start recording the audio input stream specified by stream_id.
@@ -110,15 +112,18 @@ IPC_MESSAGE_CONTROL1(AudioInputHostMsg_RecordStream,
int /* stream_id */)
// Pause the audio stream specified by stream_id.
-IPC_MESSAGE_CONTROL1(AudioHostMsg_PauseStream,
+IPC_MESSAGE_CONTROL2(AudioHostMsg_PauseStream,
+ int /* render view id */,
int /* stream_id */)
// Discard all buffered audio data for the specified audio stream.
-IPC_MESSAGE_CONTROL1(AudioHostMsg_FlushStream,
+IPC_MESSAGE_CONTROL2(AudioHostMsg_FlushStream,
+ int /* render view id */,
int /* stream_id */)
// Close an audio stream specified by stream_id.
-IPC_MESSAGE_CONTROL1(AudioHostMsg_CloseStream,
+IPC_MESSAGE_CONTROL2(AudioHostMsg_CloseStream,
+ int /* render view id */,
int /* stream_id */)
// Close an audio input stream specified by stream_id.
@@ -127,7 +132,8 @@ IPC_MESSAGE_CONTROL1(AudioInputHostMsg_CloseStream,
// Set audio volume of the stream specified by stream_id.
// TODO(hclam): change this to vector if we have channel numbers other than 2.
-IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume,
+IPC_MESSAGE_CONTROL3(AudioHostMsg_SetVolume,
+ int /* render view id */,
int /* stream_id */,
double /* volume */)

Powered by Google App Engine
This is Rietveld 408576698