mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -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