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:
Jaroslav Kysela 2001-06-13 09:31:05 +00:00
parent bf780a25a5
commit 5c3075d32f
9 changed files with 1062 additions and 485 deletions

View file

@ -478,7 +478,7 @@ int snd_ctl_open_noupdate(snd_ctl_t **ctlp, const char *name, int mode)
return err;
}
if (args) {
err = snd_config_expand(ctl_conf, args, &ctl_conf);
err = snd_config_expand(ctl_conf, args, NULL, &ctl_conf);
if (err < 0)
return err;
}