jack_set_freewheel_callback

Tell the Jack server to call @a freewheel_callback whenever we enter or leave "freewheel" mode, passing @a arg as the second argument. The first argument to the callback will be non-zero if JACK is entering freewheel mode, and zero otherwise.

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_freewheel_callback
(
jack_client_t* client
,
JackFreewheelCallback freewheel_callback
,
void* arg
)

Meta