JACK-AUDIO-CONNECTION-KIT
|
Variables | |
uint32_t | jackctl_parameter_value::ui |
member used for JackParamUInt More... | |
int32_t | jackctl_parameter_value::i |
member used for JackParamInt More... | |
char | jackctl_parameter_value::c |
member used for JackParamChar More... | |
char | jackctl_parameter_value::str [JACK_PARAM_STRING_MAX+1] |
member used for JackParamString More... | |
bool | jackctl_parameter_value::b |
member used for JackParamBool More... | |
void jack_error | ( | const char * | format, |
... | |||
) |
Call this function to log an error message.
format | string |
void jack_info | ( | const char * | format, |
... | |||
) |
Call this function to log an information message.
format | string |
void jack_log | ( | const char * | format, |
... | |||
) |
Call this function to log an information message but only when verbose mode is enabled.
format | string |
const char* jackctl_driver_get_name | ( | jackctl_driver_t * | driver | ) |
Call this function to get name of driver.
driver | driver object handle to get name of |
const JSList* jackctl_driver_get_parameters | ( | jackctl_driver_t * | driver | ) |
Call this function to get list of driver parameters. List node data pointers is a parameter object handle (jackctl_parameter_t).
driver | driver object handle to get parameters for |
const char* jackctl_internal_get_name | ( | jackctl_internal_t * | internal | ) |
Call this function to get name of internal client.
internal | internal object handle to get name of |
const JSList* jackctl_internal_get_parameters | ( | jackctl_internal_t * | internal | ) |
Call this function to get list of internal parameters. List node data pointers is a parameter object handle (jackctl_parameter_t).
internal | internal object handle to get parameters for |
bool jackctl_parameter_constraint_is_fake_value | ( | jackctl_parameter_t * | parameter | ) |
Call this function to check whether parameter has fake values, i.e. values have no user meaningful meaning and only value description is meaningful to user.
parameter | parameter object handle to check |
bool jackctl_parameter_constraint_is_strict | ( | jackctl_parameter_t * | parameter | ) |
Call this function to check whether parameter constraint is strict, i.e. whether supplying non-matching value will not work for sure.
parameter | parameter object handle to check |
union jackctl_parameter_value jackctl_parameter_get_default_value | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter default value.
parameter | parameter object handle to get default value of |
const char* jackctl_parameter_get_enum_constraint_description | ( | jackctl_parameter_t * | parameter, |
uint32_t | index | ||
) |
Call this function to get parameter enumeration value description.
parameter | object handle of parameter |
index | index of parameter enumeration value |
union jackctl_parameter_value jackctl_parameter_get_enum_constraint_value | ( | jackctl_parameter_t * | parameter, |
uint32_t | index | ||
) |
Call this function to get parameter enumeration value.
parameter | object handle of parameter |
index | index of parameter enumeration value |
uint32_t jackctl_parameter_get_enum_constraints_count | ( | jackctl_parameter_t * | parameter | ) |
Call this function get how many enumeration values parameter has.
parameter | object handle of parameter |
char jackctl_parameter_get_id | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter character.
parameter | parameter object handle to get character of |
const char* jackctl_parameter_get_long_description | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter long description.
parameter | parameter object handle to get long description of |
const char* jackctl_parameter_get_name | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter name.
parameter | parameter object handle to get name of |
void jackctl_parameter_get_range_constraint | ( | jackctl_parameter_t * | parameter, |
union jackctl_parameter_value * | min_ptr, | ||
union jackctl_parameter_value * | max_ptr | ||
) |
Call this function to get parameter range.
parameter | object handle of parameter |
min_ptr | pointer to variable receiving parameter minimum value |
max_ptr | pointer to variable receiving parameter maximum value |
const char* jackctl_parameter_get_short_description | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter short description.
parameter | parameter object handle to get short description of |
jackctl_param_type_t jackctl_parameter_get_type | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter type.
parameter | parameter object handle to get type of |
union jackctl_parameter_value jackctl_parameter_get_value | ( | jackctl_parameter_t * | parameter | ) |
Call this function to get parameter value.
parameter | parameter object handle to get value of |
bool jackctl_parameter_has_enum_constraint | ( | jackctl_parameter_t * | parameter | ) |
Call this function check whether parameter has enumeration constraint.
parameter | object handle of parameter to check |
bool jackctl_parameter_has_range_constraint | ( | jackctl_parameter_t * | parameter | ) |
Call this function check whether parameter has range constraint.
parameter | object handle of parameter to check |
bool jackctl_parameter_is_set | ( | jackctl_parameter_t * | parameter | ) |
Call this function to check whether parameter has been set, or its default value is being used.
parameter | parameter object handle to check |
bool jackctl_parameter_reset | ( | jackctl_parameter_t * | parameter | ) |
Call this function to reset parameter to its default value.
parameter | parameter object handle to reset value of |
bool jackctl_parameter_set_value | ( | jackctl_parameter_t * | parameter, |
const union jackctl_parameter_value * | value_ptr | ||
) |
Call this function to set parameter value.
parameter | parameter object handle to get value of |
value_ptr | pointer to variable containing parameter value |
bool jackctl_server_add_slave | ( | jackctl_server_t * | server, |
jackctl_driver_t * | driver | ||
) |
Call this function to add a slave in the driver slave list.
server | server object handle |
driver | driver to add in the driver slave list. |
jackctl_server_t* jackctl_server_create | ( | bool(*)(const char *device_name) | on_device_acquire, |
void(*)(const char *device_name) | on_device_release | ||
) |
Call this function to create server object.
on_device_acquire | - Optional callback to be called before device is acquired. If false is returned, device usage will fail |
on_device_release | - Optional callback to be called after device is released. |
void jackctl_server_destroy | ( | jackctl_server_t * | server | ) |
Call this function to destroy server object.
server | server object handle to destroy |
const JSList* jackctl_server_get_drivers_list | ( | jackctl_server_t * | server | ) |
Call this function to get list of available drivers. List node data pointers is a driver object handle (jackctl_driver_t).
server | server object handle to get drivers for |
const JSList* jackctl_server_get_internals_list | ( | jackctl_server_t * | server | ) |
Call this function to get list of available internal clients. List node data pointers is a internal client object handle (jackctl_internal_t).
server | server object handle to get internal clients for |
const JSList* jackctl_server_get_parameters | ( | jackctl_server_t * | server | ) |
Call this function to get list of server parameters. List node data pointers is a parameter object handle (jackctl_parameter_t).
server | server object handle to get parameters for |
bool jackctl_server_load_internal | ( | jackctl_server_t * | server, |
jackctl_internal_t * | internal | ||
) |
Call this function to load one internal client.
server | server object handle |
internal | internal to use |
bool jackctl_server_remove_slave | ( | jackctl_server_t * | server, |
jackctl_driver_t * | driver | ||
) |
Call this function to remove a slave from the driver slave list.
server | server object handle |
driver | driver to remove from the driver slave list. |
bool jackctl_server_start | ( | jackctl_server_t * | server, |
jackctl_driver_t * | driver | ||
) |
Call this function to start JACK server
server | server object handle |
driver | driver to use |
bool jackctl_server_stop | ( | jackctl_server_t * | server | ) |
Call this function to stop JACK server
server | server object handle |
bool jackctl_server_switch_master | ( | jackctl_server_t * | server, |
jackctl_driver_t * | driver | ||
) |
Call this function to switch master driver.
server | server object handle |
driver | driver to switch to |
bool jackctl_server_unload_internal | ( | jackctl_server_t * | server, |
jackctl_internal_t * | internal | ||
) |
Call this function to unload one internal client.
server | server object handle |
internal | internal to unload |
sigset_t jackctl_setup_signals | ( | unsigned int | flags | ) |
Call this function to setup process signal handling. As a general rule, it is required for proper operation for the server object.
flags | signals setup flags, use 0 for none. Currently no flags are defined |
void jackctl_wait_signals | ( | sigset_t | signals | ) |
Call this function to wait on a signal set.
signals | signals set to wait on |
bool jackctl_parameter_value::b |
member used for JackParamBool
char jackctl_parameter_value::c |
member used for JackParamChar
int32_t jackctl_parameter_value::i |
member used for JackParamInt
char jackctl_parameter_value::str[JACK_PARAM_STRING_MAX+1] |
member used for JackParamString
uint32_t jackctl_parameter_value::ui |
member used for JackParamUInt