HMDI ac3 passthrough/downmix

This commit is contained in:
TangoCash
2017-10-07 23:20:07 +02:00
parent 0fc12438db
commit c4d16f29c7

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)