jack_set_port_connect_callback

Tell the JACK server to call @a connect_callback whenever a port is connected or disconnected, passing @a arg as a parameter.

All "notification events" are received in a seperated non RT thread, the code in the supplied function does not need to be suitable for real-time execution.

NOTE: this function cannot be called while the client is activated (after jack_activate has been called.)

@return 0 on success, otherwise a non-zero error code

extern (C)
int
jack_set_port_connect_callback
(
jack_client_t* client
,
JackPortConnectCallback connect_callback
,
void* arg
)

Meta