mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
kodi: fix aml audio patch
This commit is contained in:
parent
dc3b0781ff
commit
163298041f
@ -16,7 +16,7 @@ index 6a9066b..4d7f85d 100644
|
|||||||
}
|
}
|
||||||
#if defined(HAS_LIBAMCODEC)
|
#if defined(HAS_LIBAMCODEC)
|
||||||
- if (aml_present())
|
- if (aml_present())
|
||||||
+ if (!m_passthrough && aml_present())
|
+ 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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user