jack_set_sample_rate_callback

Tell the Jack server to call @a srate_callback whenever the system sample rate changes.

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_sample_rate_callback
(
jack_client_t* client
,
JackSampleRateCallback srate_callback
,
void* arg
)

Meta