mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
kodi: fix builing after update to 17b5
This commit is contained in:
parent
3722f864bd
commit
1085b0934b
@ -11,7 +11,7 @@ diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngin
|
|||||||
index 6a9066b..4d7f85d 100644
|
index 6a9066b..4d7f85d 100644
|
||||||
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
|
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
|
||||||
+++ b/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;
|
m_passthrough = false;
|
||||||
}
|
}
|
||||||
#if defined(HAS_LIBAMCODEC)
|
#if defined(HAS_LIBAMCODEC)
|
||||||
@ -19,6 +19,6 @@ index 6a9066b..4d7f85d 100644
|
|||||||
+ if (!m_passthrough && device.find("hdmi:CARD=AMLM8AUDIO") != std::string::npos)
|
+ if (!m_passthrough && device.find("hdmi:CARD=AMLM8AUDIO") != std::string::npos)
|
||||||
{
|
{
|
||||||
- aml_set_audio_passthrough(m_passthrough);
|
- aml_set_audio_passthrough(m_passthrough);
|
||||||
device = "default";
|
+ device = "default";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user