Roll src/third_party/WebKit 6b63e20:35e1984 (svn 201060:201061)
[chromium-blink-merge.git] / chromecast / media / base / media_caps.h
blob8ae2c7bcec0dae3c27bc33c4f1b1e029c4ea7f15
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_MEDIA_BASE_MEDIA_CAPS_
6 #define CHROMECAST_MEDIA_BASE_MEDIA_CAPS_
8 namespace media {
10 enum HdmiSinkCodec {
11 kSinkCodecAc3 = 1,
12 kSinkCodecDts = 1 << 1,
13 kSinkCodecDtsHd = 1 << 2,
14 kSinkCodecEac3 = 1 << 3,
15 kSinkCodecPcmSurroundSound = 1 << 4,
18 // Records the known supported codecs for the current HDMI sink, as a bit mask
19 // of HdmiSinkCodec values.
20 void SetHdmiSinkCodecs(int codecs_mask);
22 bool HdmiSinkSupportsAC3();
23 bool HdmiSinkSupportsDTS();
24 bool HdmiSinkSupportsDTSHD();
25 bool HdmiSinkSupportsEAC3();
26 bool HdmiSinkSupportsPcmSurroundSound();
28 } // namespace media
30 #endif // CHROMECAST_MEDIA_BASE_MEDIA_CAPS_