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

Unified Diff: media/audio/audio_output_ipc.h

Issue 15979015: Reland 15721002: Hook up the device selection to the WebAudio live audio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed the comments. Created 7 years, 7 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: media/audio/audio_output_ipc.h
diff --git a/media/audio/audio_output_ipc.h b/media/audio/audio_output_ipc.h
index 78cf2e7caba777e919051a4ed029e0d4b46d9b78..84f8c6a897ccd3ede210f9963935a8436a79e977 100644
--- a/media/audio/audio_output_ipc.h
+++ b/media/audio/audio_output_ipc.h
@@ -61,10 +61,13 @@ class MEDIA_EXPORT AudioOutputIPC {
// Sends a request to create an AudioOutputController object in the peer
// process and configures it to use the specified audio |params| including
- // number of synchronized input channels. Once the stream has been created,
+ // number of synchronized input channels.|session_id| is used by the browser
+ // to select the correct input device if the input channel in |params| is
+ // valid, otherwise it will be ignored. Once the stream has been created,
// the implementation will notify |delegate| by calling OnStreamCreated().
virtual void CreateStream(AudioOutputIPCDelegate* delegate,
- const AudioParameters& params) = 0;
+ const AudioParameters& params,
+ int session_id) = 0;
// Starts playing the stream. This should generate a call to
// AudioOutputController::Play().

Powered by Google App Engine
This is Rietveld 408576698