aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-06-29 21:37:19 +0200
committerTrent Nelson <trent.nelson@pivosgroup.com>2014-07-08 15:26:52 +0800
commit1459cb92701d4db3cde0efc39130968cd5586dee (patch)
treeb441c2b3968670be16b20b97acd7b892783f2202
parent00b02d0fe8088a2efb8831e068a04cb4f3d76390 (diff)
Merge pull request #4955 from Memphiz/osxfixoptical2
[AE/osxsink] - fix optical usb devices with > 2 channels
-rw-r--r--xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
index 030f8f2260..d3903687f4 100644
--- a/xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
@@ -438,6 +438,10 @@ static void EnumerateDevices(CADeviceList &list)
}
else// treat all other digital passthrough devices as optical
device.m_deviceType = AE_DEVTYPE_IEC958;
+
+ //treat all other digital devices as HDMI to let options open to the user
+ if (device.m_deviceType == AE_DEVTYPE_PCM)
+ device.m_deviceType = AE_DEVTYPE_HDMI;
}
// devicename based overwrites from former code - maybe FIXME at some point when we