mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
armbox: enable DTS passthrough
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user