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

Unified Diff: media/base/media_client.h

Issue 2466463005: Support (E)AC3 passthrough
Patch Set: Revert changes in audio_renderer_mixer. Created 4 years, 1 month 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/base/media_client.h
diff --git a/media/base/media_client.h b/media/base/media_client.h
index e3bb095a6ac83077bb5b7213fdff6b8392926600..f5548b781a295ef53e00a5c6a2391219edd81831 100644
--- a/media/base/media_client.h
+++ b/media/base/media_client.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "media/base/audio_codecs.h"
#include "media/base/key_system_properties.h"
#include "media/base/media_export.h"
#include "media/base/video_codecs.h"
@@ -71,6 +72,10 @@ class MEDIA_EXPORT MediaClient {
virtual bool IsSupportedVideoConfig(VideoCodec codec,
VideoCodecProfile profile,
int level) = 0;
+
+ // Returns true if the compressed audio |codec| format is supported by the
+ // audio sink.
+ virtual bool IsPassthroughAudioSupported(AudioCodec codec) = 0;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698