On 01.02.2016 18:18, tom(a)trellis.ch wrote:
to put in other words i wondered if a client can ask
to "autostart" a
temporary dummy server with only a few arguments easily code-wise
(assuming *any* jack has a dummy backend built-in) instead of relying
on the ~/.jackrc file. the other non-dummy cases are more
dialogue-demanding, no question.
Actually, yes.
See
https://github.com/jackaudio/jack1/blob/master/libjack/client.c#L868
You can create your own jackdrc file and set the env var 'JACK_RC_FILE'
to that before calling jack_client_open.
That way if jack is not running yet, the jackd command will be read from
that file instead of the default ~/.jackdrc.