mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Revert "Fix driver conf parsing in snd_config_hook_load_for_all_cards()"
This reverts commit 96da0c842d.
This way of fix brokes card-specific configuration loading.
See http://bugzilla.redhat.com bug#521988 for details.
Appropriate way to handle this problem is to fix the dmix configuration file.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
ac9de424bc
commit
133819d420
1 changed files with 3 additions and 2 deletions
|
|
@ -3477,8 +3477,9 @@ int snd_config_hook_load_for_all_cards(snd_config_t *root, snd_config_t *config,
|
|||
err = snd_determine_driver(card, &fdriver);
|
||||
if (err < 0)
|
||||
return err;
|
||||
if (snd_config_search(root, fdriver, &n) >= 0 &&
|
||||
snd_config_get_string(n, &driver) >= 0) {
|
||||
if (snd_config_search(root, fdriver, &n) >= 0) {
|
||||
if (snd_config_get_string(n, &driver) < 0)
|
||||
goto __err;
|
||||
assert(driver);
|
||||
while (1) {
|
||||
char *s = strchr(driver, '.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue