mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
hdspmixer: Fix detection for non-MADIface RME cards
When adding RayDAT support, detection for cards like the 9652 was accidently lost. This patch re-adds the missing bits. Signed-off-by: Jörn Nettingsmeier <nettings@stackingdwarves.net> Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
12931e9595
commit
f2bb47662d
1 changed files with 17 additions and 1 deletions
|
|
@ -51,7 +51,23 @@ int main(int argc, char **argv)
|
|||
} else {
|
||||
snd_card_get_longname(card, &name);
|
||||
printf("Card %d : %s\n", card, name);
|
||||
if (!strncmp(name, "RME MADIface", 12)) {
|
||||
if (!strncmp(name, "RME Hammerfall DSP + Multiface", 30)) {
|
||||
printf("Multiface found !\n");
|
||||
hdsp_cards[cards] = new HDSPMixerCard(Multiface, card);
|
||||
cards++;
|
||||
} else if (!strncmp(name, "RME Hammerfall DSP + Digiface", 29)) {
|
||||
printf("Digiface found !\n");
|
||||
hdsp_cards[cards] = new HDSPMixerCard(Digiface, card);
|
||||
cards++;
|
||||
} else if (!strncmp(name, "RME Hammerfall HDSP 9652", 24)) {
|
||||
printf("HDSP 9652 found !\n");
|
||||
hdsp_cards[cards] = new HDSPMixerCard(H9652, card);
|
||||
cards++;
|
||||
} else if (!strncmp(name, "RME Hammerfall HDSP 9632", 24)) {
|
||||
printf("HDSP 9632 found !\n");
|
||||
hdsp_cards[cards] = new HDSPMixerCard(H9632, card);
|
||||
cards++;
|
||||
} else if (!strncmp(name, "RME MADIface", 12)) {
|
||||
printf("RME MADIface found !\n");
|
||||
hdsp_cards[cards] = new HDSPMixerCard(HDSPeMADI, card);
|
||||
cards++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue