Add Clarett support

This commit is contained in:
Geoffrey D. Bennett
2022-08-12 01:32:09 +09:30
parent be3f126f92
commit 65c0f6aa43
4 changed files with 6486 additions and 23 deletions

View File

@@ -505,7 +505,8 @@ void alsa_scan_cards(void) {
if (err < 0)
goto next;
if (strncmp(snd_ctl_card_info_get_name(info), "Scarlett", 8) != 0)
if (strncmp(snd_ctl_card_info_get_name(info), "Scarlett", 8) != 0 &&
strncmp(snd_ctl_card_info_get_name(info), "Clarett", 7) != 0)
goto next;
// is there already an entry for this card in alsa_cards?