Index: media/mojo/interfaces/audio_output.mojom |
diff --git a/media/mojo/interfaces/audio_output.mojom b/media/mojo/interfaces/audio_output.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..820d81f38f4f549e8f27a175e76bbcb1c4338706 |
--- /dev/null |
+++ b/media/mojo/interfaces/audio_output.mojom |
@@ -0,0 +1,22 @@ |
+// Copyright 2016 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 media.interfaces; |
+ |
+import "media/mojo/interfaces/media_types.mojom"; |
+ |
+interface AudioOutputStream { |
+ Close(); |
+}; |
+ |
+interface AudioOutput { |
+ CreateStream( |
+ int32 stream_id, |
+ int32 render_frame_id, |
+ AudioOutputStreamParameters params) => |
+ (int32 stream_id, |
+ AudioOutputStream? stream, |
+ handle<shared_buffer>? shared_buffer, |
+ handle? socket_descriptor); |
+}; |