Chromium Code Reviews| Index: content/renderer/media/media_stream_impl.h |
| diff --git a/content/renderer/media/media_stream_impl.h b/content/renderer/media/media_stream_impl.h |
| index 1cd4479ce72f7300ef87c5d3827d4bbf2759254e..adad70186a3b2f45346a6af6b6928289a3123e3a 100644 |
| --- a/content/renderer/media/media_stream_impl.h |
| +++ b/content/renderer/media/media_stream_impl.h |
| @@ -155,6 +155,15 @@ class CONTENT_EXPORT MediaStreamImpl |
| void StopLocalAudioTrack(const WebKit::WebMediaStream& web_stream); |
| + // Returns a valid session id if a single capture device is currently open |
| + // (and then the matching session_id), otherwise -1. |
| + // This is used to pass on a session id to a webrtc audio renderer (either |
| + // local or remote), so that audio will be rendered to a matching output |
| + // device, should one exist. |
| + // Note that if there are more than one open capture devices |
|
Jói
2013/09/06 14:49:26
This sentence does not
tommi (sloooow) - chröme
2013/09/06 16:56:54
Doh! fixed
|
| + bool GetAuthorizedInputDeviceSessionIdForAudioRenderer(int* session_id, |
|
Jói
2013/09/06 14:49:26
I think style is either all indent to ( or all ind
tommi (sloooow) - chröme
2013/09/06 16:56:54
Done.
|
| + int* output_sample_rate, int* output_buffer_size); |
| + |
| // Weak ref to a MediaStreamDependencyFactory, owned by the RenderThread. |
| // It's valid for the lifetime of RenderThread. |
| MediaStreamDependencyFactory* dependency_factory_; |