mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
add snd_device_name_hint() function and initial implementation
- add snd_device_name_hint() and snd_device_name_free_hint() functions - add snd_ctl_iface_conf_name() functions - do not accept parameters for the plugin definition without @args section - add defaults.pcm.dmix.card/device and dsnoop.card/device definitions - add hints for HDA-Intel.conf, pcm/dmix.conf, pcm/dsnoop.conf and alsa.conf - add test/namehint test utility - doxygen related cleanups
This commit is contained in:
parent
b223fbba23
commit
13fdc41785
19 changed files with 646 additions and 14 deletions
|
|
@ -3935,6 +3935,10 @@ int snd_config_expand(snd_config_t *config, snd_config_t *root, const char *args
|
|||
snd_config_t *defs, *subs = NULL, *res;
|
||||
err = snd_config_search(config, "@args", &defs);
|
||||
if (err < 0) {
|
||||
if (args != NULL) {
|
||||
SNDERR("Unknown parameters %s", args);
|
||||
return -EINVAL;
|
||||
}
|
||||
err = snd_config_copy(&res, config);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue