| Index: content/browser/renderer_host/media/audio_input_renderer_host.h
|
| diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.h b/content/browser/renderer_host/media/audio_input_renderer_host.h
|
| index 8daa31fcd6d04c216f1f2848529105a8cb1695ea..3e69328dbb69db73f7333be2bdb5f67e60cd58a9 100644
|
| --- a/content/browser/renderer_host/media/audio_input_renderer_host.h
|
| +++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
|
| @@ -20,10 +20,10 @@
|
| // OnCloseStream -> AudioInputController::Close
|
| //
|
| // For the OnStartDevice() request, AudioInputRendererHost starts the device
|
| -// referenced by the session id, and a OnDeviceStarted() callback with the
|
| -// index of the opened device will be received later. Then it will send a IPC
|
| -// message to notify the renderer that the device is ready, so that renderer
|
| -// can continue with the OnCreateStream() request.
|
| +// referenced by the session id, and an OnDeviceStarted() callback with the
|
| +// id of the opened device will be received later. Then it will send a
|
| +// IPC message to notify the renderer that the device is ready, so that
|
| +// renderer can continue with the OnCreateStream() request.
|
| //
|
| // OnDeviceStopped() is called when the user closes the device through
|
| // AudioInputDeviceManager without calling Stop() before. What
|
| @@ -122,7 +122,7 @@ class CONTENT_EXPORT AudioInputRendererHost
|
| uint32 size);
|
|
|
| // media_stream::AudioInputDeviceManagerEventHandler implementation.
|
| - virtual void OnDeviceStarted(int session_id, int index);
|
| + virtual void OnDeviceStarted(int session_id, const std::string& device_id);
|
| virtual void OnDeviceStopped(int session_id);
|
|
|
| private:
|
| @@ -144,7 +144,8 @@ class CONTENT_EXPORT AudioInputRendererHost
|
| // required properties.
|
| void OnCreateStream(int stream_id,
|
| const AudioParameters& params,
|
| - bool low_latency);
|
| + bool low_latency,
|
| + const std::string& device_id);
|
|
|
| // Record the audio input stream referenced by |stream_id|.
|
| void OnRecordStream(int stream_id);
|
|
|