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 media.interfaces; |
| 6 |
| 7 import "media/mojo/interfaces/media_types.mojom"; |
| 8 |
| 9 interface AudioOutputStream { |
| 10 Close(); |
| 11 }; |
| 12 |
| 13 interface AudioOutput { |
| 14 CreateStream( |
| 15 int32 stream_id, |
| 16 int32 render_frame_id, |
| 17 AudioOutputStreamParameters params) => |
| 18 (int32 stream_id, |
| 19 AudioOutputStream? stream, |
| 20 handle<shared_buffer>? shared_buffer, |
| 21 handle? socket_descriptor); |
| 22 }; |
OLD | NEW |