Re: [Jack-Devel] controlapi" how about a "backend died" callback ?
Le 21 févr. 2011 à 17:52, torbenh a écrit :
>
> hi...
>
> it would be nice, if we could add a callback to the controlapi, so that
> the controller might get notified when the backend dies.
>
> we currently have 2 callbacks in the control api. and they are passed to
> jackctl_server_create() ... i propose adding functions to set these
> callbacks, so that we maintain consistency with the normal jack api.
Would be better yes than the current situation. I think we may probably recode jackctl_server_create beacuse it is only used "internally" right now (jackd, jackdbus)
Nedko any comment on that?
>
> iE:
>
> void jackctl_server_set_backend_died_callback( jackctl_server_t *s, JackCtlBackendDiedCallback cb );
> --
> torben Hohn
For example...
Stéphane
1298307478.15173_0.ltw:2,a <C658782A-362B-4A4B-8E11-C07FA3ECE3D7 at grame dot fr>