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

Paul Davis paul at linuxaudiosystems.com
Wed May 30 09:24:42 UTC 2012

On Wed, May 30, 2012 at 12:18 AM, Marcel Bonnet <marcelbonnet at gmail.com>wrote:

> 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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20120530/61dc392f/attachment.htm>

More information about the Linux-audio-user mailing list