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(); |