jack-stdout is a small tool that writes JACK audio-sample data to buffered standard output. - A flexible jack-audio port for the unix commandline. GPL and everything.
The current prototype writes 16 bit signed integers (much like mpg123 -s at JACK's samplerate.
It's based on the capture_client example and works with JustEport an stdin to airtunes™ tool.
Here is a quick implementation that would need to have it's edges rounded off:
compile with
gcc -o jack-stdout jack-stdout.c -ljack -lm -lpthread
example use:
./jack-stdout xmms_0:out_1 xmms_0:out_2 | \ mono ~/Desktop/Downloads/JustePort.exe - 10.0.1.6 0