armbox: enable DTS passthrough

This commit is contained in:
TangoCash
2017-10-11 20:42:05 +02:00
parent a2fc1d51ee
commit efc486301f

View File

@@ -394,8 +394,10 @@ void cAudio::SetHdmiDD(bool enable)
void cAudio::SetSpdifDD(bool enable)
{
//using this function for dts passthrough
const char *opt[] = { "downmix", "passthrough" };
lt_debug("%s %d\n", __func__, enable);
setBypassMode(!enable);
proc_put("/proc/stb/audio/dts", opt[enable], strlen(opt[enable]));
}
void cAudio::ScheduleMute(bool On)