Re: List of jackd startup and named instance questions
Ethan Funk <[email protected]>
| Newsgroups | gmane.comp.audio.jackit |
|---|---|
| Organization | Red Mountain Radio LLC |
| Message-ID | <2e88fb607369119d998551d3951983905a6a27a8.camel@redmountainradio.com> |
Thanks Thomas. Needing to set the JackServerName option bit flag for jack_client_open() when passing a server name into the function is what I was missing when trying to connect to a named jackd server. And along that same line, the JackNoStartServer flag also solves my server auto- start problem from my client. It's good to know that the environmental variables referenced in the jackd man-page are also used by the client API. That wasn't apparent to me. Thanks... you save me a lot of time looking through the jack source code! Ethan... On Sat, 2019-03-09 at 15:12 +0100, Thomas Brand wrote: > On Fri, March 8, 2019 19:12, Ethan Funk wrote: > Hello all. > > > Some notes taken from jackd manpage that cover a few of the topics in your > mail here: > > Every JACK client reads environment variables under the hood that can > control some of the aspects you refer to. > > $JACK_DEFAULT_SERVER specifies the default server name. > As an example: > JACKD_DEFAULT_SERVER=nondefault jack_lsp > > jack_lsp doesn't need special code for handling for that. > > $JACK_NO_START_SERVER specifies to not start a server when none is running > (with given name). > As Nettingsmeier pointed out, you really want to start the server > separately with defined parameters and not rely on a client to do it. > > Clients can control server name and autostartup behavior in code > explicitly by passing jack_options_t to the jack_client_open() function. > > $JACK_PROMISCUOUS_SERVER allows for relaxed permissions, "allowing clients > from different users to talk with the same server" > > Finally you can always wrap the server or client startups in a script or > have a small daemon that will do it iff the other approaches aren't good > enough. > > Greetings > Thomas > > > _______________________________________________ Jack-Devel mailing list [email protected] http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqU7GtX8ebNmJMAKgrX6X36Kjo04FAlyD/yAACgkQrX6X36Kj o06Krg/+OVZvW482VL1SSBqsRFt1iz3UIpkf1l91YXmDg2eK3BtfPzvtsWYj0zMG 41dvlNtBvX+MLoKeFyKG9qc8EryyS6f7BOLnP4y1wKPsqU2q30s08TlyhX/ADl3I Ch2Rp2c0QWJ2xEDM0wTD+91+DeSH5S9Q/ftyu+PA+UMDyc5j7q2xjj7gBy6OfF5s qlQF/yAEqWCgNP49bhqfgEiFTNFphwL94/Vi8VZIH2p2aWsOPVYJGBq2iWbB7E33 PIN/zRrJ/xe22PPetNMJHtOkUD4pjY21aR7VQk/26WArPsKh7bLw2hNp223wXLgN Uk8KxUsC1cw+mH0ApWavjU0eDlH/OpyR39FZUKRTc0MckOQNh0x24nDD+IFmFbOa vROmX9N7J8moF4eFADUHCge/H8axJU4JFoJ6LpWxtb8hfcOk/9jofF2etI7nhVsJ 3DwRjCghvpeEHqvIcNzoNZw68TgKKC51HZkibYHNjgmkf4UfTFSzM4k1hFM84kco +tQEWYMNTAc4op3djYcCJe0mAUYN39HNkg4qnMU9ZEAVfaBmbulQgJIciV4BMLqB qp+8lrMnyaER6f6SUkBMxIRa1vAwMc23XN3IsGR7n2hp+kp3/4tk+MQNCZx97xpF wTLuMmKy1u0S4otCX6iE1u9ozYamD9WS+xfekmcPTMlcr6aTMIk= =8+jo -----END PGP SIGNATURE-----