[LAD] NetJack question

David J Myers david.myers at amg-panogenics.com
Mon Feb 24 15:38:23 UTC 2014

Many thanks for the reply, Adrian, this is much appreciated.

I don't have the zita-ajbridge installed so I thought I'd try the alsa_in
method first.
So on the first box, I run,as you suggest
$ jackd -d alsa
Then on the second box
$ jackd -d net

But then, when I try to run alsa_in on the second box in a second terminal
window, it fails and it crashes the jackd process. 

I'm also wondering how I make the connection between the two boxes?

Here's a trace of box 2 (terminal 1):-

user at ubuntu:~$ jackd -d net
jackd 0.121.2
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
creating net driver ... net_pcm|48000|1024|3000|2|2|transport_sync:1
all 32 bit float mono audio port buffers in use!
cannot assign buffer for port
Segmentation fault (core dumped)
user at ubuntu:~$

and box 2 (terminal 2) :-

user at ubuntu:~$ alsa_in -d hw:0 -r 44100
selected sample format: 32bit
cannot deliver port registration request
alsa_in: alsa_in.c:406: process: Assertion `rlen > 2' failed.
jacknet_client: cannot register port for capture_1Aborted (core dumped)
user at ubuntu:~$


-----Original Message-----
From: linux-audio-dev-bounces at lists.linuxaudio.org
[mailto:linux-audio-dev-bounces at lists.linuxaudio.org] On Behalf Of Adrian
Sent: 24 February 2014 12:13
To: linux-audio-dev at lists.linuxaudio.org
Subject: Re: [LAD] NetJack question

On Mon, Feb 24, 2014 at 11:58:21AM -0000, David J Myers wrote:

> I need to take the audio input from my sound hardware on one Linux 
> box, send it over the network to a second Linux box and play it back 
> on the second box sound hardware.

Yes. Using the latest jackd1 release will make this easier, however, you can
also go for whatever your distribution has available.

Basically, you run

   $ jackd -d alsa

on the first box and

   $ jackd -d net

on the second. If you have jackd2, it would be "netone", not "net".

You then use Fons' zita-ajbridge on the second machine to connect to your
physical I/O. (they replace the older alsa_in/out tools)

The latest jackd1 can do the last two steps in one step.

Maybe netjack2 is also an option for you. Go for whatever works.


mail: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver

Linux-audio-dev mailing list
Linux-audio-dev at lists.linuxaudio.org

More information about the Linux-audio-dev mailing list