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

Unified Diff: media/mojo/interfaces/audio_output.mojom

Issue 1896883002: Mojo interfaces needed for switching audio rendering stream creation and closing from IPC to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: All grunell comments resolved Created 4 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 side-by-side diff with in-line comments
Download patch
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..684661e794793488f655dd067e612f1adc79fd66
--- /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 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.
+
+import "media/mojo/interfaces/media_types.mojom";
+
+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.
+ Close();
+};
+
+interface AudioOutput {
xhwang 2016/04/26 22:54:42 ditto for comments.
rchtara 2016/04/29 12:54:46 Done.
+ CreateStream(
+ int32 stream_id,
+ 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
+ media.interfaces.AudioOutputStreamParameters params) =>
+ (int32 stream_id,
+ AudioOutputStream? stream,
+ handle<shared_buffer>? shared_buffer,
+ handle? socket_descriptor);
+};

Powered by Google App Engine
This is Rietveld 408576698