Update of /cvsroot/alsa/alsa-tools/hdspconf/src
In directory sc8-pr-cvs1:/tmp/cvs-serv2865/src
Modified Files:
hdspconf.cxx
Log Message:
updated to version 1.1
It fixes a small bug + an issue in card detection preventing it to work
with hdsp9652 cards. It fixes too FLTK detection in configure.
Index: hdspconf.cxx
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/hdspconf/src/hdspconf.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hdspconf.cxx 2 Jul 2003 10:21:11 -0000 1.1
+++ hdspconf.cxx 28 Jul 2003 12:58:10 -0000 1.2
@@ -134,7 +134,7 @@
HC_XpmRenderer *rme_logo;
HC_AboutText *about_text;
Fl_Group *about_pane;
- char **name;
+ char *name;
int card;
int hdsp_cards[4];
int alsa_index[4];
@@ -152,24 +152,26 @@
if (card < 0) {
break;
} else {
- snd_card_get_longname(card, name);
- printf("Card %d : %s\n", card, *name);
- if (!strncmp(*name, "RME Hammerfall DSP + Multiface", 30)) {
+ snd_card_get_longname(card, &name);
+ printf("Card %d : %s\n", card, name);
+ if (!strncmp(name, "RME Hammerfall DSP + Multiface", 30)) {
printf("Multiface found !\n");
hdsp_cards[cards] = MULTIFACE;
alsa_index[cards] = card;
cards++;
- } else if (!strncmp(*name, "RME Hammerfall DSP + Digiface", 29)) {
+ } else if (!strncmp(name, "RME Hammerfall DSP + Digiface", 29)) {
printf("Digiface found !\n");
hdsp_cards[cards] = DIGIFACE;
alsa_index[cards] = card;
cards++;
- } else if (!strncmp(*name, "RME HDSP 9652", 13)) {
+ } else if (!strncmp(name, "RME Hammerfall HDSP 9652", 24)) {
printf("HDSP 9652 found !\n");
hdsp_cards[cards] = HDSP9652;
alsa_index[cards] = card;
cards++;
- }
+ } else if (!strncmp(name, "RME Hammerfall DSP", 18)) {
+ printf("Uninitialized HDSP card found. Use hdsploader to upload
firmware.\n");
+ }
}
}
if (!cards) {
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog