Re: [Jack-Devel] Monitoring starting of JACK server
On Sun, Apr 24, 2011 at 10:51 PM, leeloo <[hidden]> wrote:
> I have an application which needs to know if the JACK sever is running.
> To detect when the JACK server is started, I am currently polling by calling
> "jack_client_open()" and checking the return code.
> Is there a better way to do it? like being notified?
this is what ardour does. there's really no better way to do it, i think.
if you use a version of JACK with D-Bus support then you could use
D-Bus to be notified when D-Bus is used to start the JACK server, but
this solution will not work with non-D-Bus versions of JACK.
1303700499.20494_0.ltw:2,a <BANLkTimLtFq5VtRnFkink50oOphKaMBs6Q at mail dot gmail dot com>