armbox: enable DTS passthrough

Origin commit data
------------------
Branch: master
Commit: efc486301f
Author: TangoCash <eric@loxat.de>
Date: 2017-10-11 (Wed, 11 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-11 20:42:05 +02:00
parent 2377c0ce4e
commit 2fb5c4dec3

View File

@@ -394,8 +394,10 @@ void cAudio::SetHdmiDD(bool enable)
void cAudio::SetSpdifDD(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); 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) void cAudio::ScheduleMute(bool On)