Hi,
Please, find attached a trivial patch for usbaudio.c (2.5.45) that fixes a
compilation problem triggered by CONFIG_SND_DEBUG_DETECT
Regards,
Pedro
--
ALSA Library Bindings for Pascal
http://alsapas.alturl.com
--- usbaudio.c.orig Fri Nov 1 02:09:38 2002
+++ usbaudio.c Thu Oct 31 22:10:30 2002
@@ -1879,7 +1879,7 @@
}
if (iface->altsetting[0].desc.bInterfaceClass != USB_CLASS_AUDIO ||
iface->altsetting[0].desc.bInterfaceSubClass != USB_SUBCLASS_AUDIO_STREAMING) {
- snd_printdd(KERN_ERR "%d:%u:%d: skipping non-supported interface %d\n", dev->devnum, ctrlif, j, iface->altsetting[0].bInterfaceClass);
+ snd_printdd(KERN_ERR "%d:%u:%d: skipping non-supported interface %d\n", dev->devnum, ctrlif, j, iface->altsetting[0].desc.bInterfaceClass);
/* skip non-supported classes */
continue;
}