Posts: 183
Joined: Nov 2010
Reputation:
4
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.
Posts: 190
Joined: Oct 2009
Reputation:
0
acemt
Senior Member
Posts: 190
this is going to be incredible if you can integrate this. This is really the biggest thing missing from XBMC
Posts: 472
Joined: Nov 2009
Reputation:
2
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: ASUS Chromebox / OpeneElec 5 / Kodi 14.2
Bedroom: Amazon FireTV Stick / Kodi 14.2
Home Office: Amazon FireTV Stick / Kodi 14.2
Windows Server: Intel Core i3-2100T / 8GB Ram / 48TB / MySQL / StableBit DrivePool on Server 2012 R2 Standard
Posts: 183
Joined: Nov 2010
Reputation:
4
Looks like it'll be a day or two before I have a git-branch ready for testing. I just did some testing on the AudioEngine branch and it seems to have problems. I'll be posting some patches for AudioEngine to at least get them compiling with external FFmpeg. If the AudioEngine branch fixes their problems I've got the patches ready to apply.
Considering the AudioEngine branch doesn't seem to currently succeed in handling passthrough, I'll be branching off head. I'm hoping Pulse gets a commit in to their passthrough branch that eliminates the need to patch PulseAudio code at all. It'll just be a matter of git cloning from the right tree.
I'm wrapping the code in conditionals so that it will build Pulse passthrough support if the installed version of Pulse supports passthrough (this should be official in Pulse version 1.0).
Posts: 183
Joined: Nov 2010
Reputation:
4
2011-03-20, 16:36
(This post was last modified: 2011-03-20, 23:18 by cbxbiker61.)
OK, I've been burnin the midnight oil so I'm ready for others to test the results.
Download/build/install in order.
git://git.collabora.co.uk/git/user/arun/pulseaudio.git
after you clone pulseaudio.git change into the pulseaudio directory and "git checkout passthrough".
git://github.com/cbxbiker61/audiofilter.git
git://github.com/cbxbiker61/xbmc.git
Configure xbmc with appropriate devices selected in System Settings/Audio, pulse audio devices show up with (pulse) extension.
Posts: 278
Joined: Oct 2010
Reputation:
0
Great work cbxbiker61, is it possible to post/upload a compiled version for less tehnical people so we can test out, since i don`t know how to compile/use git? I`m interested mostly in DTS-HD MA and True HD bitstreaming, so i`ll let you know the results on a Denon 2310 receiver.
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
I am having a problem compiling audiofilter, here is the output.
#make -j8
mkdir -p out.x86_64 out.x86
make -C out.x86_64 -f ../GNUmakefile TOP=../.. libAudioFilter.a bsconvert noise mpeg_demux spdifer swab wavdiff
make[1]: Entering directory `/home/shadow/audiofilter/gnu/out.x86_64'
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/Ac3HeaderParser.cpp -o Ac3HeaderParser.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/Ac3Parser.cpp -o Ac3Parser.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/AgcFilter.cpp -o AgcFilter.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/AutoFile.cpp -o AutoFile.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/BitStream.cpp -o BitStream.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/filters/Converter.cpp -o Converter.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/filters/ConvertFunc.cpp -o ConvertFunc.o
g++ -c -D_GNU_SOURCE -g -O -Wall -I../../include -I../../lib ../../lib/filters/Convolver.cpp -o Convolver.o
../../lib/Ac3HeaderParser.cpp:46:6: error: ‘Ac3HeaderParser’ has not been declared
../../lib/Ac3HeaderParser.cpp:142:6: error: ‘Ac3HeaderParser’ has not been declared
make[1]: *** [Ac3HeaderParser.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/shadow/audiofilter/gnu/out.x86_64'
make: *** [all] Error 2
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
Thanks, it worked. Compiling xbmc now then I finally get to test it.
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
I can't get it to work. In the audio output setting I have no Pulse choices for the passthrough output device
Posts: 257
Joined: Jan 2011
Reputation:
5
shadow
Senior Member
Posts: 257
I was in /usr/local
Although I noticed that I I am only at 20 not 21. (stock ubuntu PA was 16)
Am I still having problems or did you miss type?
Recompiling xbmc now.