xbmc/xbmc — pull request #5766 by Memphiz (2014-11-19 22:00:20+00:00)
Title: [AE/CA] - fix regression introduced in the enumeration refactor - handle "hackintosh" audio devices with "digital" in the name as digital devices

As the title says. The IsDigitalDevice relied on the m_devicename member which was not initialised at the point of calling. Use the GetName from the CaDevice directly for this to ensure its always valid.

Waiting for user feedback and should be included into helix afterwards (regression from gotham).

Fixes missing passthrough options for devices which have "digital" in the name but are announced as PCM only on osx.