[Gta04-owner] Low latency audio routing

Bob Ham rah at bash.sh
Wed Jan 18 10:41:57 CET 2012


On 18/01/2012 09:10, Radek Polak wrote:
> On Tuesday 17 January 2012 22:43:24 Bob Ham wrote:
>
>> What was the problem getting it working?
> I installed jackd and qjackctl. QJackCtl is working fine as long as jackd is
> not running. When you start jackd, QJackCtl just hangs.
>
> I think jackd is just daemon and you need some tool to connect slots and make
> audio routes. I have only found QJackCtl. Or am i missing something?

I'd forget about QJackCtl and just focus on jackd, which is a daemon, 
yes.  There are a variety of tools for connecting ports.  The stock 
command-line programs are jack_lsp, to list ports; jack_connect to 
connect them; and jack_disconnect to disconnect them.  Ports are mono.

I think jackd is ideal.  You can easily build a flexible system that 
connects audio ports dynamically, directing audio to a bluetooth headset 
or the loudspeakers, and disconnecting the earpiece, etc.  This is 
trivial with the appropriate jack_{,dis}connect calls, either through 
the command-line programs or directly through the C API.

It's also worth noting that phone-call recording becomes trivial; the 
jack_rec program will listen to any ports and spit the data into a .wav 
file.



More information about the Gta04-owner mailing list