Skip to content

Commit

Permalink
Merge pull request #851 from Kwiboo/fix-aml-audio
Browse files Browse the repository at this point in the history
kodi: fix aml audio patch
  • Loading branch information
chewitt authored Oct 21, 2016
2 parents 7c882d4 + 1632980 commit 98164d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 98164d4

Please sign in to comment.