Re: [LAU] doubt about jack client names with PID as suffix

From: Paul Davis <paul@email-addr-hidden>
Date: Wed May 30 2012 - 12:24:42 EEST

On Wed, May 30, 2012 at 12:18 AM, Marcel Bonnet <marcelbonnet@email-addr-hiddenwrote:

> Hi,
> Does anyone knows if there is a reason, except for the concern of a unique
> name per client, for jack clients to use the PID as suffix for the client
> name instead of simply allows the user to name it through the command line?
> As mentioned in [1], if we use, per example, qjackctl as front end for
> jackd and save the session, the next day you cannot load the same
> connections because the PIDs had changed. I think it would be better if we
> could name the clients ourselves.
>

JACK does not create such names. This is an issue with specific clients
that choose to use this naming convention, rather than with JACK itself.
Clients should rely on jack_client_open() to generate a unique name if the
name they request is already taken, and should not try to generate a unique
name for themselves (unless the user provides the unique name, which is
entirely different).

Note that if you do, in fact, run the same client multiple times, then
there will always be issues with defining the connections (not necessarily
that significant though).

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed May 30 16:15:01 2012

This archive was generated by hypermail 2.1.8 : Wed May 30 2012 - 16:15:01 EEST