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

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

Issue 2640003002: Implement MojoAudioRendererSink and use it in UtilityMojoMediaClient (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « media/mojo/interfaces/audio_renderer_sink.mojom ('k') | media/mojo/interfaces/output_device_info.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/media_types.mojom
diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom
index 0bd3b3a1ae43c70e9edd38a65828f0b5fbff79c8..e2c9b26203731b21b349cdea30692971b221cc51 100644
--- a/media/mojo/interfaces/media_types.mojom
+++ b/media/mojo/interfaces/media_types.mojom
@@ -157,6 +157,17 @@ struct AudioBuffer {
array<uint8> data;
};
+// This defines a mojo transport format for media::AudioBus.
+struct AudioBus {
+ // Number of channels.
+ int32 nb_channels;
+
+ // Number of frames.
+ int32 nb_frames;
+
+ array<float> data;
+};
+
// This defines a mojo transport format for media::VideoFrame.
struct VideoFrame {
// Format of the frame.
« no previous file with comments | « media/mojo/interfaces/audio_renderer_sink.mojom ('k') | media/mojo/interfaces/output_device_info.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698