Configuration helper functions. More...
Functions | |
| int | snd_config_get_bool_ascii (const char *ascii) |
| Gets the boolean value from the given ASCII string. | |
| int | snd_config_get_bool (const snd_config_t *conf) |
| Gets the boolean value from a configuration node. | |
| int | snd_config_get_ctl_iface_ascii (const char *ascii) |
| Gets the control interface index from the given ASCII string. | |
| int | snd_config_get_ctl_iface (const snd_config_t *conf) |
| Gets the control interface index from a configuration node. | |
| int | snd_func_getenv (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns an environment value. | |
| int | snd_func_igetenv (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns an integer environment value. | |
| int | snd_func_concat (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Merges the given strings. | |
| int | snd_func_iadd (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Sum the given integers. | |
| int | snd_func_imul (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Multiply the given integers. | |
| int | snd_func_datadir (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns the ALSA data directory. | |
| int | snd_func_private_string (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
Returns the string from private_data. | |
| int | snd_func_private_card_driver (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
Returns the driver identification from private_data. | |
| int | snd_func_card_inum (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns the card number as integer. | |
| int | snd_func_card_driver (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns the driver identification for a card. | |
| int | snd_func_card_id (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns the identification of a card. | |
| int | snd_func_card_name (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Returns the name of a card. | |
| int | snd_func_refer (snd_config_t **dst, snd_config_t *root, snd_config_t *src, snd_config_t *private_data) |
| Copies the specified configuration node. | |
Configuration helper functions.
See the Runtime functions in configuration files page for more details.
| int snd_func_card_driver | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the driver identification for a card.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_card_id | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the identification of a card.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_card_inum | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the card number as integer.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_card_name | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the name of a card.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_concat | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Merges the given strings.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_datadir | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the ALSA data directory.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_getenv | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns an environment value.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_iadd | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Sum the given integers.
| dst | The function puts the handle to the result configuration node (with type integer) at the address specified by dst.
|
| int snd_func_igetenv | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns an integer environment value.
| dst | The function puts the handle to the result configuration node (with type integer) at the address specified by dst.
|
| int snd_func_imul | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Multiply the given integers.
| dst | The function puts the handle to the result configuration node (with type integer) at the address specified by dst.
|
| int snd_func_private_card_driver | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the driver identification from private_data.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_private_string | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Returns the string from private_data.
| dst | The function puts the handle to the result configuration node (with type string) at the address specified by dst.
|
| int snd_func_refer | ( | snd_config_t ** | dst, | |
| snd_config_t * | root, | |||
| snd_config_t * | src, | |||
| snd_config_t * | private_data | |||
| ) |
Copies the specified configuration node.
| dst | The function puts the handle to the result configuration node (with the same type as the specified node) at the address specified by dst.
|
1.6.3