ac3jack is a JACK plugin which accepts multichannel (more than 2 channels) PCM input on its input and produces an AC3 stream on its output. This is useful for playback of multichannel EAC3/AAC/Vorbis/etc. audio into a surround processor that only accepts AC3 input. Say goodbye to noisy analog connections and send any multichannel audio down a S/PDIF connection regardless of format. This is an updated version of the ac3jack 0.1.2 ebuild in the pro-audio overlay. It checks for suitable versions of its dependencies (based mainly on the versions I currently have installed). It requires the aften svn ebuild I've submitted (aften-9999.ebuild) under bug #199858; the other needed ebuilds are already in Portage. Reproducible: Always
Just installed your aften-9999 and would like to test ac3jack, is the ebuild the same as the 0.1.2 or ? Thanks.
That way failed here : config.status: executing depfiles commands make -j1 make all-recursive make[1]: Entering directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1' Making all in src make[2]: Entering directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src' Making all in . make[3]: Entering directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src' if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/local/include -I/opt/local/include -pthread -march=native -O2 -pipe -ftree-vectorize -MT engine.o -MD -MP -MF ".deps/engine.Tpo" \ -c -o engine.o `test -f 'engine.cpp' || echo './'`engine.cpp; \ then mv -f ".deps/engine.Tpo" ".deps/engine.Po"; \ else rm -f ".deps/engine.Tpo"; exit 1; \ fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/local/include -I/opt/local/include -pthread -march=native -O2 -pipe -ftree-vectorize -MT audio_driver.o -MD -MP -MF ".deps/audio_driver.Tpo" \ -c -o audio_driver.o `test -f 'audio_driver.cpp' || echo './'`audio_driver.cpp; \ then mv -f ".deps/audio_driver.Tpo" ".deps/audio_driver.Po"; \ else rm -f ".deps/audio_driver.Tpo"; exit 1; \ fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/local/include -I/opt/local/include -pthread -march=native -O2 -pipe -ftree-vectorize -MT encoder.o -MD -MP -MF ".deps/encoder.Tpo" \ -c -o encoder.o `test -f 'encoder.cpp' || echo './'`encoder.cpp; \ then mv -f ".deps/encoder.Tpo" ".deps/encoder.Po"; \ else rm -f ".deps/encoder.Tpo"; exit 1; \ fi encoder.cpp: In member function ‘bool AC3JACK::Encoder::set_params(const AC3JACK::EncoderParams&)’: encoder.cpp:75: error: ‘memset’ was not declared in this scope make[3]: *** [encoder.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1' make: *** [all] Error 2 Maybe because of gcc-4.3.2 ?
Created attachment 213955 [details] ac3jack-2.0.3.ebuild
Created attachment 213957 [details, diff] patch to compil with gcc-4.4
I took some time to write an uncomplete ebuilt (it don't check dependency) for latest (of now) ac3jack 2.0.3 which still need aften-9999. It compil fine, but jackd and ac3jack isn't what I expected. I don't know if a "simple" ALSA is still the best solution for me...
Had this in my overlay for a while, but removed it at some point. Closing ticket.