[LAU] Re: monitoring jack connections
Kjetil Matheussen <[email protected]>
| Newsgroups | gmane.linux.audio.users |
|---|---|
| Message-ID | <CAC6niEK67JYPfoDeZcsNJcgBGJ8CtDcFEesKH_2zvhaxX+A9jw@mail.gmail.com> |
Bill Purvis: > > poll the connections at frequent intervals. Is there any way I can get a > callback when either of the clients drops out? > The function jack_set_graph_order_callback does this. The callback is called whenever the graph of connections is changed. Then you can use other jack functions to find out if your client has dropped out. I don't know if writing a c program is an option for you, but there are probably higher-level languages that have support for jack. https://jackaudio.org/api/group__ClientCallbacks.html#gacd0804ccef7c6891d8265bd88e7429ee (Sorry if someone else has already replied this solution (I'm subscribing to the mailing list in digest mode), but I could not find any web archive of the linux audio mailing list working! Is there any left?) _______________________________________________ Linux-audio-user mailing list -- linux-audio-user-cunTk1MwBs/[email protected] To unsubscribe send an email to linux-audio-user-leave-cunTk1MwBs/[email protected]