mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Enhanced configuration syntax (added [ ] block for arrays).
The snd_config_expand functions expands the runtime contents (@func...). Removed the environment variable replace code from the configuration parser. Updated the alsa.conf configuration file.
This commit is contained in:
parent
bf780a25a5
commit
5c3075d32f
9 changed files with 1062 additions and 485 deletions
|
|
@ -39,7 +39,7 @@ int snd_config_search_alias(snd_config_t *config,
|
|||
snd_config_t **result);
|
||||
|
||||
int snd_config_expand(snd_config_t *config, const char *args,
|
||||
snd_config_t **result);
|
||||
void *private_data, snd_config_t **result);
|
||||
|
||||
int snd_config_add(snd_config_t *config, snd_config_t *leaf);
|
||||
int snd_config_delete(snd_config_t *config);
|
||||
|
|
@ -96,11 +96,12 @@ int snd_config_string_replace(const char *src, char idchr,
|
|||
snd_config_string_replace_callback_t *callback,
|
||||
void *private_data,
|
||||
char **dst);
|
||||
int snd_config_redirect_load(snd_config_t *root, snd_config_t *config,
|
||||
char **name, snd_config_t **dst_config,
|
||||
int snd_config_redirect_load(snd_config_t *root,
|
||||
snd_config_t *config,
|
||||
char **name,
|
||||
snd_config_t **dst_config,
|
||||
int *dst_dynamic);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue