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

Side by Side Diff: content/common/media/audio_output_stream_factory.mojom

Issue 2697663003: Add mojo interface+impl creation of audio streams. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
o1ka 2017/03/21 16:20:17 2017
Max Morin 2017/03/22 13:18:29 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module content.mojom;
6
7 import "media/mojo/interfaces/audio_output_stream.mojom";
8 import "media/mojo/interfaces/audio_parameters.mojom";
9 import "media/mojo/interfaces/media_types.mojom";
10 import "url/mojo/origin.mojom";
11
12 interface RendererAudioOutputStreamFactory {
o1ka 2017/03/21 16:20:17 Should the file be named "renderer_audio_output_st
Max Morin 2017/03/22 13:18:29 Done.
13 // Used to request a device. An AudioOutputStreamProviderRequest may be
14 // supplied, in which case it will be bound to an AudioOutputStreamProvider
15 // implementation or closed (in case of an error).
16 RequestDeviceAuthorization(
17 media.mojom.AudioOutputStreamProvider&? stream_provider_request,
o1ka 2017/03/21 16:20:17 Could you clarify in the comment the usecase when
Max Morin 2017/03/22 13:18:29 Changed so that request must always be provided.
18 int64 session_id,
19 string device_id,
20 url.mojom.Origin origin) =>
21 (media.mojom.OutputDeviceStatus state,
22 media.mojom.AudioParameters output_params,
23 string matched_device_id);
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698