Update of /cvsroot/alsa/alsa-driver/usb/usx2y
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11818

Modified Files:
        usbusx2y.c 
Log Message:
enabled the support for US224

Index: usbusx2y.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/usb/usx2y/usbusx2y.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- usbusx2y.c  21 Jan 2004 18:33:32 -0000      1.7
+++ usbusx2y.c  17 Feb 2004 15:28:31 -0000      1.8
@@ -247,11 +247,11 @@
                .idVendor =     0x1604,
                .idProduct =    USB_ID_US122 
        },
-/*     { FIXME: uncomment  to test us224 support*/
-/*             .match_flags =  USB_DEVICE_ID_MATCH_DEVICE, */
-/*             .idVendor =     0x1604, */
-/*             .idProduct =    USB_ID_US224  */
-/*     }, */
+       {
+               .match_flags =  USB_DEVICE_ID_MATCH_DEVICE,
+               .idVendor =     0x1604,
+               .idProduct =    USB_ID_US224
+       },
        { /* terminator */ }
 };
 
@@ -292,7 +292,7 @@
        int             err;
        snd_card_t*     card;
        if (device->descriptor.idVendor != 0x1604 ||
-           (device->descriptor.idProduct != USB_ID_US122 && /* 
device->descriptor.idProduct != USB_ID_US224 && */ device->descriptor.idProduct != 
USB_ID_US428) ||
+           (device->descriptor.idProduct != USB_ID_US122 && 
device->descriptor.idProduct != USB_ID_US224 && device->descriptor.idProduct != 
USB_ID_US428) ||
            !(card = snd_usX2Y_create_card(device)))
                return 0;
        if ((err = snd_usX2Y_hwdep_new(card, device)) < 0  ||



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to