Re: [Jack-Devel] controlapi" how about a "backend died" callback ?

PrevNext  Index
DateMon, 21 Feb 2011 17:57:35 +0100
From Stéphane Letz <[hidden] at grame dot fr>
Totorbenh Hohn <[hidden] at gmx dot de>, Nedko Arnaudov <[hidden] at arnaudov dot name>
Cc[hidden] at lists dot jackaudio dot org
In-Reply-Totorbenh [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
PrevNext  Index

1298307478.15173_0.ltw:2,a <C658782A-362B-4A4B-8E11-C07FA3ECE3D7 at grame dot fr>