jack_set_buffer_size_callback

Tell JACK to call @a bufsize_callback whenever the size of the the buffer that will be passed to the @a process_callback is about to change. Clients that depend on knowing the buffer size must supply a @a bufsize_callback before activating themselves.

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.)

@param client pointer to JACK client structure. @param bufsize_callback function to call when the buffer size changes. @param arg argument for @a bufsize_callback.

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

extern (C)
int
jack_set_buffer_size_callback
(
jack_client_t* client
,
JackBufferSizeCallback bufsize_callback
,
void* arg
)

Meta