kodi: fix builing after update to 17b5

This commit is contained in:
kszaq 2016-11-30 23:14:34 +01:00 committed by MilhouseVH
parent 3722f864bd
commit 1085b0934b

View File

@ -11,7 +11,7 @@ diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngin
index 6a9066b..4d7f85d 100644
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
@@ -535,9 +535,8 @@ bool CAESinkALSA::Initialize(AEAudioFormat &format, std::string &device)
@@ -535,8 +535,8 @@ bool CAESinkALSA::Initialize(AEAudioFormat &format, std::string &device)
m_passthrough = false;
}
#if defined(HAS_LIBAMCODEC)
@ -19,6 +19,6 @@ index 6a9066b..4d7f85d 100644
+ if (!m_passthrough && device.find("hdmi:CARD=AMLM8AUDIO") != std::string::npos)
{
- aml_set_audio_passthrough(m_passthrough);
device = "default";
+ device = "default";
}
#endif