JACK-AUDIO-CONNECTION-KIT  0.124.1
Functions | Variables
Controlling error/information output

Functions

void jack_set_error_function (void(*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT
void jack_set_info_function (void(*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT

Variables

void(* jack_error_callback )(const char *msg) JACK_OPTIONAL_WEAK_EXPORT
void(* jack_info_callback )(const char *msg) JACK_OPTIONAL_WEAK_EXPORT

Function Documentation

void jack_set_error_function ( void(*)(const char *)  func)

Set the jack_error_callback for error message display.

The JACK library provides two built-in callbacks for this purpose: default_jack_error_callback() and silent_jack_error_callback().

void jack_set_info_function ( void(*)(const char *)  func)

Set the jack_info_callback for info message display.


Variable Documentation

void(* jack_error_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT

Display JACK error message.

Set via jack_set_error_function(), otherwise a JACK-provided default will print msg (plus a newline) to stderr.

Parameters:
msgerror message text (no newline at end).
void(* jack_info_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT

Display JACK info message.

Set via jack_set_info_function(), otherwise a JACK-provided default will print msg (plus a newline) to stdout.

Parameters:
msginfo message text (no newline at end).