XBMC PulseAudio passthrough support (including Nvidia) is available

  Thread Rating:
  • 3 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #11
topfs2 Wrote:I haven't reviewed the patches but so they don't fall into the void and under our radar (which is easy on the forum!) could you please fork our repo, patch it and send a pull request. Alternatively, but we prefer the first way, you can simply start a trac ticket with the patches.

Yeah, that sounds like a plan. PulseAudio has just recently created a branch to work out their long term pass-through support. I'll be testing against that branch as soon as I can. Not sure when Pulse will be ready to roll in their "new" pass-through code. Probably be a while, and then I'll be ready to submit "official" patches.

In the meantime, I'll be analyzing the dts-hd support. It is nice though that blu-ray rips with dts-hd will play today with the code as it stands.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #12
OK, I've tested dts-hd passthrough with pulse and I've got the test working. Now it's just a matter of coding up a proper solution. Probably 4 to 5 days. Then I'll test with the pulseaudio passthrough branch and see if they've added a couple of features I want/need.
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 3,825
Joined: Dec 2007
Reputation: 8
Post: #13
Yeah, if it can't be used in pulse which is found in our target distros I'd say its probably better to wait, we don't generally want to keep that type of development code in our mainline but a fork on github is the way to go about it I would say, that way other pulseaudio bleeding edge users can use your fork if they wish. When they merge in their branch and distros start having (or they will have it until our next release is going in) you can submit a pull request and we will pull it in if we want.

Awesome to see that the pulseaudio fellows finally are working on this, it has been such a pain that they haven't had support for this already.

Also, you might want to check out gnif's AE branch, this will be merged into mainline hopefully before eden so it might make sense if you target that with your patches. It is still in somewhat of a flux but most of the interfaces ought to be stable now.

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
shadow Offline
Senior Member
Posts: 131
Joined: Jan 2011
Reputation: 0
Post: #14
cbxbiker61 make sure you put a link to your repo when you make it. I will be trying it.
find quote
Philmatic Offline
Fan
Posts: 432
Joined: Nov 2009
Reputation: 0
Location: Elk Grove, CA
Post: #15
Isn't this duplicating the work being done in the AudioEngine branch? Or do I not understand what you're talking about (Always possible Smile)?

Living Room: Dell Optiplex 755 / Intel C2D E6550 / 4GB Ram / NVIDIA GT 430 / LiteOn BD-ROM / Harmony 700 / XBMC B2 on Win 8 Pro
Bedroom: Dell Optiplex 755 / Intel C2D E6550 / 4GB Ram / NVIDIA GT 520 / LiteOn BD-ROM / Harmony 650 / XBMC B2 on Win 8 Pro
Windows Home Server: Intel Core i3-2100T / 8GB Ram / 20TB / MySQL / StableBit DrivePool on WHS 2011
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #16
Philmatic Wrote:Isn't this duplicating the work being done in the AudioEngine branch? Or do I not understand what you're talking about (Always possible Smile)?

I'm working on PulseAudio passthrough specifically. I read through the thread and it looks I could probably take advantage of some of the extensions they're adding. So I'll probably branch off their git as soon as I'm ready. Thanks for the link.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #17
OK, I've got dts-hd muxing working in AudioFilter. Now to make a few changes in Xbmc code and I'll have pulse dts-hd passthrough working.
find quote
acemt Offline
Senior Member
Posts: 139
Joined: Oct 2009
Reputation: 0
Post: #18
this is going to be incredible if you can integrate this. This is really the biggest thing missing from XBMC
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #19
Good news Big Grin I've just watched District 9 and Master and Commander in full dts-hd. A few minor glitches (a couple of pops, I think it might be buffer underruns), other than that it worked great!

One thing I did notice with Master and Commander was that with standard dts the dialogue was not nearly as clear as it was with dts-hd. dts-hd has about 4 times the bandwidth.

I'll be putting up the newer code sometime tomorrow. I've been working pretty long hours on it and now I just want to relax a bit.
(This post was last modified: 2011-03-20 12:01 by cbxbiker61.)
find quote
Philmatic Offline
Fan
Posts: 432
Joined: Nov 2009
Reputation: 0
Location: Elk Grove, CA
Post: #20
Those drop-outs are happening on Boxee's bitstreaming code too.. they haven't been fixed yet and they're proving to be quite hard to troubleshoot.

Living Room: Dell Optiplex 755 / Intel C2D E6550 / 4GB Ram / NVIDIA GT 430 / LiteOn BD-ROM / Harmony 700 / XBMC B2 on Win 8 Pro
Bedroom: Dell Optiplex 755 / Intel C2D E6550 / 4GB Ram / NVIDIA GT 520 / LiteOn BD-ROM / Harmony 650 / XBMC B2 on Win 8 Pro
Windows Home Server: Intel Core i3-2100T / 8GB Ram / 20TB / MySQL / StableBit DrivePool on WHS 2011
find quote
Post Reply