Chromium Code Reviews| Index: content/common/media/renderer_audio_output_stream_factory.mojom |
| diff --git a/content/common/media/renderer_audio_output_stream_factory.mojom b/content/common/media/renderer_audio_output_stream_factory.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8049908880eca9425dcc934fa9e7af98bf28cc38 |
| --- /dev/null |
| +++ b/content/common/media/renderer_audio_output_stream_factory.mojom |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module content.mojom; |
| + |
| +import "media/mojo/interfaces/audio_output_stream.mojom"; |
| +import "media/mojo/interfaces/audio_parameters.mojom"; |
| +import "media/mojo/interfaces/media_types.mojom"; |
| +import "url/mojo/origin.mojom"; |
| + |
| +interface RendererAudioOutputStreamFactory { |
|
DaleCurtis
2017/03/24 17:47:13
Probably could use some more details here. A la pu
Max Morin
2017/03/27 14:40:51
Better now?
|
| + // Used to request a device. The AudioOutputStreamProviderRequest will be |
| + // bound to an AudioOutputStreamProvider implementation or closed |
| + // (in case of an error). |
| + RequestDeviceAuthorization( |
| + media.mojom.AudioOutputStreamProvider& stream_provider_request, |
| + int64 session_id, |
| + string device_id, |
| + url.mojom.Origin origin) => |
| + (media.mojom.OutputDeviceStatus state, |
| + media.mojom.AudioParameters output_params, |
| + string matched_device_id); |
| +}; |