diff options
author | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 00:54:10 +0000 |
---|---|---|
committer | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 00:54:10 +0000 |
commit | c158a30079b86c411ff72e0925755b1c6873fbbd (patch) | |
tree | dcd9aad135b0bb18926a57066e3efe6ba6a8d895 /media/audio/audio_output_ipc.h | |
parent | e876248ed8d704fc22a58e0b77fb96e01467558b (diff) | |
download | chromium_src-c158a30079b86c411ff72e0925755b1c6873fbbd.zip chromium_src-c158a30079b86c411ff72e0925755b1c6873fbbd.tar.gz chromium_src-c158a30079b86c411ff72e0925755b1c6873fbbd.tar.bz2 |
Plumb |input_channels| all the way to AudioManager
to support synchronized audio I/O without requiring use of the
"Web Audio Input" enable flag.
The approach taken is to include |input_channels| as part of the AudioParameters
class so that we can represent synchronized I/O streams directly without needing to separately
pass |input_channels| through-out the callstack.
Please note that we're still not yet removing the "Web Audio Input"
flag until we more properly verify the input device selection from getUserMedia().
BUG=none
TEST=manual test: http://chromium.googlecode.com/svn/trunk/samples/audio/visualizer-live.html
Review URL: https://codereview.chromium.org/11878032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_output_ipc.h')
-rw-r--r-- | media/audio/audio_output_ipc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/media/audio/audio_output_ipc.h b/media/audio/audio_output_ipc.h index 8543cdc..894ece5 100644 --- a/media/audio/audio_output_ipc.h +++ b/media/audio/audio_output_ipc.h @@ -68,13 +68,12 @@ class MEDIA_EXPORT AudioOutputIPC { // Sends a request to create an AudioOutputController object in the peer // process, identify it by |stream_id| and configure it to use the specified - // audio |params| and number of synchronized input channels. + // audio |params| including number of synchronized input channels. // Once the stream has been created, the implementation must // generate a notification to the AudioOutputIPCDelegate and call // OnStreamCreated(). virtual void CreateStream(int stream_id, - const AudioParameters& params, - int input_channels) = 0; + const AudioParameters& params) = 0; // Starts playing the stream. This should generate a call to // AudioOutputController::Play(). |