From efc486301f318e2066ab5fefe76827b5d2033c72 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Wed, 11 Oct 2017 20:42:05 +0200 Subject: [PATCH] armbox: enable DTS passthrough --- libarmbox/audio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libarmbox/audio.cpp b/libarmbox/audio.cpp index 909b019..dc4238e 100644 --- a/libarmbox/audio.cpp +++ b/libarmbox/audio.cpp @@ -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)