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. | |
| SND_DLSYM_BUILD_VERSION (snd_func_getenv, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| 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. | |
| SND_DLSYM_BUILD_VERSION (snd_func_igetenv, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| 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. | |
| SND_DLSYM_BUILD_VERSION (snd_func_concat, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| int | snd_func_datadir (snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *src, snd_config_t *private_data ATTRIBUTE_UNUSED) |
| Returns the ALSA data directory. | |
| SND_DLSYM_BUILD_VERSION (snd_func_datadir, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| int | snd_func_private_string (snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *src, snd_config_t *private_data) |
Returns the string from private_data. | |
| SND_DLSYM_BUILD_VERSION (snd_func_private_string, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| int | snd_determine_driver (int card, char **driver) |
| int | snd_func_private_card_driver (snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *src, snd_config_t *private_data) |
Returns the driver identification from private_data. | |
| SND_DLSYM_BUILD_VERSION (snd_func_private_card_driver, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| 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. | |
| SND_DLSYM_BUILD_VERSION (snd_func_card_driver, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| 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. | |
| SND_DLSYM_BUILD_VERSION (snd_func_card_id, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| int | snd_func_pcm_id (snd_config_t **dst, snd_config_t *root, snd_config_t *src, void *private_data) |
| Returns the pcm identification of a device. | |
| SND_DLSYM_BUILD_VERSION (snd_func_pcm_id, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| int | snd_func_pcm_args_by_class (snd_config_t **dst, snd_config_t *root, snd_config_t *src, void *private_data) |
| Returns the pcm card and device arguments (in form CARD=N,DEV=M) for pcm specified by class and index. | |
| SND_DLSYM_BUILD_VERSION (snd_func_pcm_args_by_class, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| int | snd_func_private_pcm_subdevice (snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *src, snd_config_t *private_data) |
Returns the PCM subdevice from private_data. | |
| SND_DLSYM_BUILD_VERSION (snd_func_private_pcm_subdevice, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
| 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. | |
| SND_DLSYM_BUILD_VERSION (snd_func_refer, SND_CONFIG_DLSYM_VERSION_EVALUATE) | |
Jaroslav Kysela <perex@suse.cz>
See the Runtime functions in configuration files page for more details.
|
||||||||||||||||||||
|
Returns the driver identification for a card.
{
@func card_driver
card 0
}
|
|
||||||||||||||||||||
|
Returns the identification of a card.
{
@func card_id
card 0
}
|
|
||||||||||||||||||||
|
Merges the given strings.
{
@func concat
strings [ "a1" "b2" "c3" ]
}
|
|
||||||||||||||||||||
|
Returns the ALSA data directory.
{
@func datadir
}
|
|
||||||||||||||||||||
|
Returns an environment value.
{
@func getenv
vars [ MY_CARD CARD C ]
default 0
}
|
|
||||||||||||||||||||
|
Returns an integer environment value.
{
@func igetenv
vars [ MY_DEVICE DEVICE D ]
default 0
}
|
|
||||||||||||||||||||
|
Returns the pcm card and device arguments (in form CARD=N,DEV=M) for pcm specified by class and index.
{
@func pcm_args_by_class
class 0
index 0
}
|
|
||||||||||||||||||||
|
Returns the pcm identification of a device.
{
@func pcm_id
card 0
device 0
subdevice 0 # optional
}
|
|
||||||||||||||||||||
|
Returns the driver identification from
{
@func private_card_driver
}
|
|
||||||||||||||||||||
|
Returns the PCM subdevice from
{
@func private_pcm_subdevice
}
|
|
||||||||||||||||||||
|
Returns the string from
{
@func private_string
}
|
|
||||||||||||||||||||
|
Copies the specified configuration node.
{
@func refer
file "/etc/myconf.conf" # optional
name "id1.id2.id3"
}
|
1.4.2