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

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

Issue 2421633003: media: Use native audio enum types in media mojo interfaces (Closed)
Patch Set: Created 4 years, 2 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/media_types.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/media_types.typemap
diff --git a/media/mojo/interfaces/media_types.typemap b/media/mojo/interfaces/media_types.typemap
index a135b8253a148ae49961cd60d8e0321d967498fb..4054dfa0b3763bbfd6108e2515615650c2aa0f2b 100644
--- a/media/mojo/interfaces/media_types.typemap
+++ b/media/mojo/interfaces/media_types.typemap
@@ -5,8 +5,11 @@
mojom = "//media/mojo/interfaces/media_types.mojom"
public_headers = [
+ "//media/base/audio_codecs.h",
"//media/base/buffering_state.h",
+ "//media/base/channel_layout.h",
"//media/base/decode_status.h",
+ "//media/base/sample_format.h",
"//media/base/subsample_entry.h",
]
@@ -18,7 +21,10 @@ deps = [
]
type_mappings = [
+ "media.mojom.AudioCodec=media::AudioCodec",
"media.mojom.BufferingState=media::BufferingState",
+ "media.mojom.ChannelLayout=media::ChannelLayout",
"media.mojom.DecodeStatus=media::DecodeStatus",
+ "media.mojom.SampleFormat=media::SampleFormat",
"media.mojom.SubsampleEntry=media::SubsampleEntry",
]
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698