From f2bb47662d65ecb358f51b66dfd64eed1f38dde1 Mon Sep 17 00:00:00 2001 From: Adrian Knoth Date: Thu, 3 Feb 2011 22:08:04 +0100 Subject: [PATCH] hdspmixer: Fix detection for non-MADIface RME cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- hdspmixer/src/hdspmixer.cxx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hdspmixer/src/hdspmixer.cxx b/hdspmixer/src/hdspmixer.cxx index 7fd50e9..2a7c5c9 100644 --- a/hdspmixer/src/hdspmixer.cxx +++ b/hdspmixer/src/hdspmixer.cxx @@ -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++;