Audio pass through (AC3, DTS-HD, ...)
I think I'm close to setup audio passthrough through HDMI. I would need someone who can test those passtrough modes. Any volunteer? Please write which modes you can test and which board do you have.Me。:)
I have both One and PC, and a home theatre system , I need OpenELEC to support DTS-HD passthrough, AFAP. Great, do you have any coding skills? It would go much faster... Expect first test image soon after the weekend. You'd better to create a new git branch. I created passthrough branch at https://github.com/jernejsk/OpenELEC-OPi2/tree/passthrough
There are two things to consider:
1. kernel drivers treats samples as 24 bit but kodi as 16 bit. Probably 24 bit hack should be removed in kernel.
2. kernel patch linux-93-hdmi-fix-raw-output.patch might be needed, just remove ".disabled" from file extension to test
Please build, test and report :)
jernej replied at 2016-5-13 22:38
I created passthrough branch at https://github.com/jernejsk/OpenELEC-OPi2/tree/passthrough
There ar ...
I can't git checkout passthrourh --track origin/passthrough, why?
so I must clone it again , but in China, speed is very very low, so please keep patient.
manatouboji replied at 2016-5-15 05:43
I can't git checkout passthrourh --track origin/passthrough, why?
so I must clone it again , but...
Not sure, maybe because I already applied additional changes to both branches?
I'm in no hurry, whenever you are ready...
jernej replied at 2016-5-15 17:25
Not sure, maybe because I already applied additional changes to both branches?
I'm in no hurry, w ...
I compiled the r22817-gda7e2c1 version , but, There is no any sound, whatever type of soundtrack.
Not sure where did you get that commit number. It doesn't match with any of my commits. Can you do git log and copy/paste the newest entry?
Please remove ".disabled" from projects/H3/patches/linux/linux-93-hdmi-fix-raw-output.patch.disabled, rebuild and try again. If this don't work, please do clean build. I make clean and rebuild all again, no any sound at all yet.
yaofei@q9400box:~/src/arm/pass/OpenELEC-OPi2$ git log
commit da7e2c1a3b2a139ec384fb836c851dc7811266ee
Author: Sébastien Lucas <sebastien@slucas.fr>
Date: Sat May 14 13:26:37 2016 +0200
Fix the pmu_level1 by making sure fex2bin doesn't parse it as octal
commit c9dab6d9e45249ac1cc7360eefa603a439d20228
Author: Jernej Skrabec <jernej.skrabec@siol.net>
Date: Fri May 13 16:34:27 2016 +0200
First try on enabling audio passthrough
commit aaf7baf311a20ac71dd1ca86e5117aeea02c3071
Author: Jernej Skrabec <jernej.skrabec@siol.net>
Date: Thu May 12 19:35:10 2016 +0200
linux: config: Select interactive governor and change some drivers to modules
commit 6936ba1fce12a4da050136bc754176b81dee8be4
Author: Jernej Skrabec <jernej.skrabec@siol.net>
Date: Thu May 12 18:52:07 2016 +0200
linux: sound: Fix loud pops on analog output
yaofei@q9400box:~/src/arm/pass/OpenELEC-OPi2$ git branch
* passthrough
yaofei@q9400box:~/src/arm/pass/OpenELEC-OPi2$ more .git/config
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
url = https://github.com/jernejsk/OpenELEC-OPi2.git
fetch = +refs/heads/*:refs/remotes/origin/*
remote = origin
merge = refs/heads/passthrough