| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ | 5 #ifndef CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ |
| 6 #define CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ | 6 #define CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ |
| 7 | 7 |
| 8 namespace media { | 8 namespace media { |
| 9 | 9 |
| 10 enum HdmiSinkCodec { |
| 11 kSinkCodecAc3 = 1, |
| 12 kSinkCodecDts = 1 << 1, |
| 13 kSinkCodecDtsHd = 1 << 2, |
| 14 kSinkCodecEac3 = 1 << 3, |
| 15 kSinkCodecPcmSurroundSound = 1 << 4, |
| 16 }; |
| 17 |
| 18 void SetHdmiSinkCodecs(int codecs); |
| 19 |
| 10 bool HdmiSinkSupportsAC3(); | 20 bool HdmiSinkSupportsAC3(); |
| 11 bool HdmiSinkSupportsDTS(); | 21 bool HdmiSinkSupportsDTS(); |
| 12 bool HdmiSinkSupportsDTSHD(); | 22 bool HdmiSinkSupportsDTSHD(); |
| 13 bool HdmiSinkSupportsEAC3(); | 23 bool HdmiSinkSupportsEAC3(); |
| 14 bool HdmiSinkSupportsPcmSurroundSound(); | 24 bool HdmiSinkSupportsPcmSurroundSound(); |
| 15 | 25 |
| 16 } // namespace media | 26 } // namespace media |
| 17 | 27 |
| 18 #endif // CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ | 28 #endif // CHROMECAST_MEDIA_BASE_MEDIA_CAPS_ |
| OLD | NEW |