Merge pull request #4955 from Memphiz/osxfixoptical2
authorMemphiz <memphis@machzwo.de>
Sun, 29 Jun 2014 19:37:19 +0000 (21:37 +0200)
committerTrent Nelson <trent.nelson@pivosgroup.com>
Tue, 8 Jul 2014 07:26:52 +0000 (15:26 +0800)
[AE/osxsink] - fix optical usb devices with > 2 channels

xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp

index 030f8f2..d390368 100644 (file)
@@ -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