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

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

Issue 2697663003: Add mojo interface+impl creation of audio streams. (Closed)
Patch Set: Dale's comments Created 3 years, 8 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 2017 The Chromium Authors. All rights reserved.
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 // This interface is used to create output streams. The client supplies a
13 // request for a stream provider, and then supplies the desired audio
14 // parameters to that to create the stream.
15 interface RendererAudioOutputStreamFactory {
16 // Used to request a device. The AudioOutputStreamProviderRequest will be
17 // bound to an AudioOutputStreamProvider implementation or closed
18 // (in case of an error).
19 RequestDeviceAuthorization(
20 media.mojom.AudioOutputStreamProvider& stream_provider_request,
21 int64 session_id,
22 string device_id,
23 url.mojom.Origin origin) =>
Mike West 2017/03/29 08:22:07 Why are you passing in an origin here? Shouldn't t
Max Morin 2017/03/30 12:48:50 I changed to getting it from RFH::GetLastCommitted
24 (media.mojom.OutputDeviceStatus state,
25 media.mojom.AudioParameters output_params,
26 string matched_device_id);
27 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698