Update of /cvsroot/alsa/alsa-kernel/usb
In directory sc8-pr-cvs1:/tmp/cvs-serv4388

Modified Files:
        usbaudio.c 
Log Message:
fix by Ben Saylor <[EMAIL PROTECTED]>:
- added a quirk for Audiophile USB.



Index: usbaudio.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbaudio.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- usbaudio.c  18 Jul 2003 13:11:59 -0000      1.61
+++ usbaudio.c  24 Jul 2003 12:57:22 -0000      1.62
@@ -2297,6 +2297,14 @@
                         */
                        fp->attributes &= ~EP_CS_ATTR_SAMPLE_RATE;
                }
+
+               /* workaround for M-Audio Audiophile USB */
+               if (dev->descriptor.idVendor == 0x0763 &&
+                   dev->descriptor.idProduct == 0x2003) {
+                       /* doesn't set the sample rate attribute, but supports it */
+                       fp->attributes |= EP_CS_ATTR_SAMPLE_RATE;
+               }
+
                /*
                 * plantronics headset and Griffin iMic have set adaptive-in
                 * although it's really not...



-------------------------------------------------------
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

Reply via email to