HMDI ac3 passthrough/downmix

Origin commit data
------------------
Branch: master
Commit: c4d16f29c7
Author: TangoCash <eric@loxat.de>
Date: 2017-10-07 (Sat, 07 Oct 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-10-07 23:20:07 +02:00
parent 4d403df906
commit 88bcfc6b20

View File

@@ -399,7 +399,9 @@ void cAudio::SetSRS(int /*iq_enable*/, int /*nmgr_enable*/, int /*iq_mode*/, int
void cAudio::SetHdmiDD(bool enable)
{
lt_debug("%s\n", __FUNCTION__);
const char *opt[] = { "downmix", "passthrough" };
lt_debug("%s %d\n", __func__, enable);
proc_put("/proc/stb/audio/ac3", opt[enable], strlen(opt[enable]));
}
void cAudio::SetSpdifDD(bool enable)