View: 50507|Reply: 65

Audio pass through (AC3, DTS-HD, ...)

[Copy link]

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
Published in 2016-5-13 06:45:49 | Show all floors |Read mode
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.

2

threads

30

posts

163

credits

Registered member

Rank: 2

credits
163
Published in 2016-5-13 13:53:49 | Show all floors
Me。

I have both One and PC, and a home theatre system , I need OpenELEC to support DTS-HD passthrough, AFAP.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
 Author| Published in 2016-5-13 13:58:39 | Show all floors
Great, do you have any coding skills? It would go much faster... Expect first test image soon after the weekend.

2

threads

30

posts

163

credits

Registered member

Rank: 2

credits
163
Published in 2016-5-13 14:12:32 | Show all floors
You'd better to create a new git branch.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
 Author| Published in 2016-5-13 22:38:41 | Show all floors
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

2

threads

30

posts

163

credits

Registered member

Rank: 2

credits
163
Published in 2016-5-15 12:43:17 | Show all floors
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.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
 Author| Published in 2016-5-15 17:25:21 | Show all floors
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...

2

threads

30

posts

163

credits

Registered member

Rank: 2

credits
163
Published in 2016-5-15 22:07:25 | Show all floors
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.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
 Author| Published in 2016-5-15 23:07:13 | Show all floors
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.

2

threads

30

posts

163

credits

Registered member

Rank: 2

credits
163
Published in 2016-5-17 00:19:10 | Show all floors
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
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = https://github.com/jernejsk/OpenELEC-OPi2.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "passthrough"]
        remote = origin
        merge = refs/heads/passthrough
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list