Update of /cvsroot/alsa/alsa-kernel/usb
In directory usw-pr-cvs1:/tmp/cvs-serv18516

Modified Files:
        usbaudio.c 
Log Message:
accept format type 0 as PCM with debug messages.



Index: usbaudio.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbaudio.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- usbaudio.c  11 Oct 2002 11:31:44 -0000      1.18
+++ usbaudio.c  11 Oct 2002 16:18:56 -0000      1.19
@@ -1605,6 +1605,10 @@
        /* FIXME: correct endianess and sign? */
        pcm_format = -1;
        switch (format) {
+       case 0: /* some devices don't define this correctly... */
+               snd_printd(KERN_INFO "%d:%u:%d : format type 0 is detected, processed 
+as PCM\n",
+                          dev->devnum, iface_no, altno);
+               /* fall-through */
        case USB_AUDIO_FORMAT_PCM:
                /* check the format byte size */
                switch (fmt[6]) {



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