Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 7230|Reply: 65

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

[Copy link]

3

Threads

1124

Posts

6382

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6382
Post time 2016-5-13 06:45:49 | Show all posts |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
Post time 2016-5-13 13:53:49 | Show all posts
Me。

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

3

Threads

1124

Posts

6382

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6382
 Author| Post time 2016-5-13 13:58:39 | Show all posts
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
Post time 2016-5-13 14:12:32 | Show all posts
You'd better to create a new git branch.

3

Threads

1124

Posts

6382

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6382
 Author| Post time 2016-5-13 22:38:41 | Show all posts
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
Post time 2016-5-15 12:43:17 | Show all posts
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.

3

Threads

1124

Posts

6382

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6382
 Author| Post time 2016-5-15 17:25:21 | Show all posts
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
Post time 2016-5-15 22:07:25 | Show all posts
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.

3

Threads

1124

Posts

6382

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6382
 Author| Post time 2016-5-15 23:07:13 | Show all posts
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
Post time 2016-5-17 00:19:10 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2017-11-22 17:17 GMT+8 , Processed in 0.032321 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list