[specimen] patch: clientname

Lars Luthman lars.luthman at gmail.com
Wed Jan 3 10:12:37 CST 2007


On Wed, 2007-01-03 at 17:01 +0100, Atte André Jensen wrote:
> Hi
> 
> I attached a patch yesterday that adds command line clientname to 
> specimen. However it was rejected dut to it's size, and I've since made 
> a few improvements. So now I placed it here:
> 
> http://atte.dk/specimen-0.5.1_volume_clientname.patch
> 
> It seems alot of unnesecary stuff is included in the patch, even though 
> I did run "make clean" before generating the patch...
> 
> Basically it allows option "--clientname something" which will append 
> "_something" to both jack and alsa client names, thus allowing more 
> instances of specimen to be run and route their outputs to various 
> locations.

If you just want to be able to run multiple instances and don't really
care about setting names you can use jack_client_open() instead of
jack_client_new(). It will append "-1", "-2", "-3" etc to the client
name if the original name is taken. It will also start jackd
automatically by default even if the environment variable
JACK_START_SERVER is not set.

-- 
Lars Luthman - please encrypt any email sent to me if possible
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x04C77E2E
Fingerprint: FCA7 C790 19B9 322D EB7A E1B3 4371 4650 04C7 7E2E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://zhevny.com/pipermail/specimen/attachments/20070103/cf79c6ff/attachment.pgp>


More information about the Specimen mailing list