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

Unified Diff: chromecast/media/base/media_caps.h

Issue 971913002: Chromecast: communicate HDMI-sink codec changes over IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address lcwu comments Created 5 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 | « chromecast/common/media/cast_messages.h ('k') | chromecast/media/base/media_caps.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/media_caps.h
diff --git a/chromecast/media/base/media_caps.h b/chromecast/media/base/media_caps.h
index 8e137986dabe44ad035e4bbd603ccd3c7d49f1b5..8ae2c7bcec0dae3c27bc33c4f1b1e029c4ea7f15 100644
--- a/chromecast/media/base/media_caps.h
+++ b/chromecast/media/base/media_caps.h
@@ -7,6 +7,18 @@
namespace media {
+enum HdmiSinkCodec {
+ kSinkCodecAc3 = 1,
+ kSinkCodecDts = 1 << 1,
+ kSinkCodecDtsHd = 1 << 2,
+ kSinkCodecEac3 = 1 << 3,
+ kSinkCodecPcmSurroundSound = 1 << 4,
+};
+
+// Records the known supported codecs for the current HDMI sink, as a bit mask
+// of HdmiSinkCodec values.
+void SetHdmiSinkCodecs(int codecs_mask);
+
bool HdmiSinkSupportsAC3();
bool HdmiSinkSupportsDTS();
bool HdmiSinkSupportsDTSHD();
« no previous file with comments | « chromecast/common/media/cast_messages.h ('k') | chromecast/media/base/media_caps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698