OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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; | |
xhwang
2016/04/26 22:54:42
This file is in media/mojo where we use media.inte
rchtara
2016/04/29 12:54:46
Done.
| |
6 | |
7 import "media/mojo/interfaces/media_types.mojom"; | |
8 | |
9 interface AudioOutputStream { | |
xhwang
2016/04/26 22:54:42
Please provide some comments about what this is fo
rchtara
2016/04/29 12:54:46
Done.
| |
10 Close(); | |
11 }; | |
12 | |
13 interface AudioOutput { | |
xhwang
2016/04/26 22:54:42
ditto for comments.
rchtara
2016/04/29 12:54:46
Done.
| |
14 CreateStream( | |
15 int32 stream_id, | |
16 int32 render_frame_id, | |
xhwang
2016/04/26 22:54:42
Hmm, media should know nothing about content (e.g.
rchtara
2016/04/29 12:54:46
At the beginning, I tried to define the interface
| |
17 media.interfaces.AudioOutputStreamParameters params) => | |
18 (int32 stream_id, | |
19 AudioOutputStream? stream, | |
20 handle<shared_buffer>? shared_buffer, | |
21 handle? socket_descriptor); | |
22 }; | |
OLD | NEW |