Re: How to tell if server running from API
Robin Gareus <[email protected]> Sun, 31 Mar 2019 03:16:57 +0200
| Newsgroups | gmane.comp.audio.jackit |
|---|---|
| Message-ID | <[email protected]> |
On 3/31/19 3:01 AM, Tim wrote: > This may have been answered recently but I can't find it. > Is there a way, via the Jack API or Jack server API, > to ask if Jack is already running? jack_wait(1) is a jack-client to check and wait for existence/exit of jackd. It periodically tries to jack_client_open() with JackNoStartServer. It usually comes with jackd. > I see there is a DBus command for that in jack_control, yep. `jack_control status` which effectively does the same as dbus-send --session --print-reply --dest=org.jackaudio.service /org/jackaudio/Controller org.jackaudio.JackControl.IsStarted > but jack_control crashes for me. Maybe my Python's fault? no idea. Cheers! robin _______________________________________________ Jack-Devel mailing list [email protected] http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org