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

Unified Diff: media/mojo/common/media_type_converters.h

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/clients/mojo_renderer_unittest.cc ('k') | media/mojo/common/media_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/media_type_converters.h
diff --git a/media/mojo/common/media_type_converters.h b/media/mojo/common/media_type_converters.h
index d0afe7060aba25957eceec67080fbdf1060cb4a3..5ac927033041fcbb82531e6256353108288e370a 100644
--- a/media/mojo/common/media_type_converters.h
+++ b/media/mojo/common/media_type_converters.h
@@ -14,6 +14,7 @@
namespace media {
class AudioBuffer;
+class AudioBus;
class AudioDecoderConfig;
class DecoderBuffer;
class DecryptConfig;
@@ -128,6 +129,11 @@ struct TypeConverter<scoped_refptr<media::AudioBuffer>,
};
template <>
+struct TypeConverter<media::mojom::AudioBusPtr, media::AudioBus> {
+ static media::mojom::AudioBusPtr Convert(const media::AudioBus& input);
+};
+
+template <>
struct TypeConverter<media::mojom::VideoFramePtr,
scoped_refptr<media::VideoFrame>> {
static media::mojom::VideoFramePtr Convert(
« no previous file with comments | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/common/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698