diff options
author | fritsch <Peter.Fruehberger@gmail.com> | 2014-02-15 19:49:29 +0100 |
---|---|---|
committer | fritsch <Peter.Fruehberger@gmail.com> | 2014-02-18 19:21:17 +0100 |
commit | ea40b4d5ad32bfc037216503cca0ee86d4f43fe9 (patch) | |
tree | 12908a116cf8c972fcebcf3da4103de1c0f5f639 | |
parent | 6204232bd6c41b970cf333f32e38eca54211a90d (diff) |
AESinkDirectSound: Add DTS to supported list - as it's supported
-rw-r--r-- | xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp index 5721b77325..98bf6d9c79 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp @@ -549,6 +549,8 @@ void CAESinkDirectSound::EnumerateDevicesEx(AEDeviceInfoList &deviceInfoList, bo deviceInfo.m_channels = layoutsByChCount[std::max(std::min(smpwfxex->nChannels, (WORD) DS_SPEAKER_COUNT), (WORD) 2)]; deviceInfo.m_dataFormats.push_back(AEDataFormat(AE_FMT_FLOAT)); deviceInfo.m_dataFormats.push_back(AEDataFormat(AE_FMT_AC3)); + // DTS is played with the same infrastructure as AC3 + deviceInfo.m_dataFormats.push_back(AEDataFormat(AE_FMT_DTS)); deviceInfo.m_sampleRates.push_back(std::min(smpwfxex->nSamplesPerSec, (DWORD) 192000)); } else |