mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
14 lines
699 B
Diff
14 lines
699 B
Diff
|
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp 2019-02-11 07:44:48.000000000 -0500
|
||
|
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp 2019-02-16 11:38:16.251695614 -0500
|
||
|
@@ -1329,6 +1329,10 @@ void CAESinkALSA::EnumerateDevice(AEDevi
|
||
|
if (snd_card_get_name(cardNr, &cardName) == 0)
|
||
|
info.m_displayName = cardName;
|
||
|
|
||
|
+ /* hifiberry digi doesn't correctly report as iec958 device. Needs fixing in kernel driver */
|
||
|
+ if (info.m_displayName == "snd_rpi_hifiberry_digi")
|
||
|
+ info.m_deviceType = AE_DEVTYPE_IEC958;
|
||
|
+
|
||
|
if (info.m_deviceType == AE_DEVTYPE_HDMI && info.m_displayName.size() > 5 &&
|
||
|
info.m_displayName.substr(info.m_displayName.size()-5) == " HDMI")
|
||
|
{
|