On Tue, February 2, 2016 16:17, Filipe Coelho wrote:
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.
this is a nice hack, i will try :)
grep -r JACK_RC_FILE in jack2 source directory didn't reveal anything
while in jack1 did so this must be a jack1 speciality.
thanks for the hint!
cheers
tom