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

Side by Side Diff: media/mojo/interfaces/media_types.mojom

Issue 2697793002: Add mojo interface+impl for audio stream control. (Closed)
Patch Set: Don't inline AudioOutputDelegate(EventHandler) dtor. Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module media.mojom; 5 module media.mojom;
6 6
7 import "gpu/ipc/common/mailbox_holder.mojom"; 7 import "gpu/ipc/common/mailbox_holder.mojom";
8 import "mojo/common/time.mojom"; 8 import "mojo/common/time.mojom";
9 import "ui/gfx/geometry/mojo/geometry.mojom"; 9 import "ui/gfx/geometry/mojo/geometry.mojom";
10 10
11 // See media/base/buffering_state.h for descriptions. 11 // See media/base/buffering_state.h for descriptions.
12 [Native] 12 [Native]
13 enum BufferingState; 13 enum BufferingState;
14 14
15 // See media/base/decode_status.h for descriptions. 15 // See media/base/decode_status.h for descriptions.
16 [Native] 16 [Native]
17 enum DecodeStatus; 17 enum DecodeStatus;
18 18
19 // See media/base/audio_codecs.h for descriptions. 19 // See media/base/audio_codecs.h for descriptions.
20 [Native] 20 [Native]
21 enum AudioCodec; 21 enum AudioCodec;
22 22
23 // See media/base/channel_layout.h for descriptions. 23 // See media/base/channel_layout.h for descriptions.
24 [Native] 24 [Native]
25 enum ChannelLayout; 25 enum ChannelLayout;
26 26
27 // See media/base/output_device_info.h for descriptions.
28 [Native]
29 enum OutputDeviceStatus;
30
27 // See media/base/sample_format.h for descriptions. 31 // See media/base/sample_format.h for descriptions.
28 [Native] 32 [Native]
29 enum SampleFormat; 33 enum SampleFormat;
30 34
31 // See media/base/video_types.h for descriptions. 35 // See media/base/video_types.h for descriptions.
32 [Native] 36 [Native]
33 enum VideoPixelFormat; 37 enum VideoPixelFormat;
34 38
35 // See media/base/video_types.h for descriptions. 39 // See media/base/video_types.h for descriptions.
36 [Native] 40 [Native]
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 }; 214 };
211 215
212 struct PipelineStatistics { 216 struct PipelineStatistics {
213 uint64 audio_bytes_decoded; 217 uint64 audio_bytes_decoded;
214 uint64 video_bytes_decoded; 218 uint64 video_bytes_decoded;
215 uint32 video_frames_decoded; 219 uint32 video_frames_decoded;
216 uint32 video_frames_dropped; 220 uint32 video_frames_dropped;
217 int64 audio_memory_usage; 221 int64 audio_memory_usage;
218 int64 video_memory_usage; 222 int64 video_memory_usage;
219 }; 223 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/audio_output_stream.mojom ('k') | media/mojo/interfaces/media_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698