Merge pull request #851 from Kwiboo/fix-aml-audio

kodi: fix aml audio patch
This commit is contained in:
Christian Hewitt 2016-10-21 21:57:17 +04:00 committed by GitHub
commit 98164d4bcc

View File

@ -16,7 +16,7 @@ index 6a9066b..4d7f85d 100644
}
#if defined(HAS_LIBAMCODEC)
- 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);
device = "default";