mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-31 22:25:34 -04:00
Changed from snd_ctl_card_get_type to driver
This commit is contained in:
parent
26e2fec915
commit
9304040eee
1 changed files with 2 additions and 2 deletions
|
|
@ -195,8 +195,8 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
// CSP chip is present only on SB16 and SBAWE cards
|
// CSP chip is present only on SB16 and SBAWE cards
|
||||||
if ((snd_ctl_card_info_get_type(card_info) != SND_CARD_TYPE_SB_16) &&
|
if (strcmp(snd_ctl_card_info_get_driver(card_info), "SB 16") != 0 &&
|
||||||
(snd_ctl_card_info_get_type(card_info) != SND_CARD_TYPE_SB_AWE)) {
|
strcmp(snd_ctl_card_info_get_driver(card_info), "SB AWE") != 0) {
|
||||||
error("not a SB_16 or SB_AWE type card");
|
error("not a SB_16 or SB_AWE type card");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue