Update of /cvsroot/alsa/alsa-tools/vxloader
In directory sc8-pr-cvs1:/tmp/cvs-serv25185

Modified Files:
        vxloader.c 
Log Message:
load the firmwares to all cards as default.



Index: vxloader.c
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/vxloader/vxloader.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vxloader.c  19 Feb 2003 15:41:15 -0000      1.2
+++ vxloader.c  28 Feb 2003 14:19:52 -0000      1.3
@@ -369,12 +369,15 @@
                return vx_boot(name) != 0;
        }
 
-       /* probe the cards until found */
+       /* probe the all cards */
        for (c = 0; c < SND_CARDS; c++) {
                sprintf(name, "hw:%d", c);
                if (! vx_boot(name))
-                       return 0;
+                       card = c;
        }
-       fprintf(stderr, PROGNAME ": no VX-compatible cards found\n");
-       return 1;
+       if (card < 0) {
+               fprintf(stderr, PROGNAME ": no VX-compatible cards found\n");
+               return 1;
+       }
+       return 0;
 }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to