mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
load the firmwares to all cards as default.
This commit is contained in:
parent
aa558b819b
commit
379f500795
1 changed files with 7 additions and 4 deletions
|
|
@ -369,12 +369,15 @@ int main(int argc, char **argv)
|
||||||
return vx_boot(name) != 0;
|
return vx_boot(name) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* probe the cards until found */
|
/* probe the all cards */
|
||||||
for (c = 0; c < SND_CARDS; c++) {
|
for (c = 0; c < SND_CARDS; c++) {
|
||||||
sprintf(name, "hw:%d", c);
|
sprintf(name, "hw:%d", c);
|
||||||
if (! vx_boot(name))
|
if (! vx_boot(name))
|
||||||
return 0;
|
card = c;
|
||||||
}
|
}
|
||||||
fprintf(stderr, PROGNAME ": no VX-compatible cards found\n");
|
if (card < 0) {
|
||||||
return 1;
|
fprintf(stderr, PROGNAME ": no VX-compatible cards found\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue