Date: Fri, 20 Nov 2009 14:30:50 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 170866 for review Message-ID: <200911201430.nAKEUo3t000215@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170866 Change 170866 by hselasky@hselasky_laptop001 on 2009/11/20 14:29:55 USB audio: - add support for MIDI devices without audio control stream. Affected files ... .. //depot/projects/usb/src/sys/dev/sound/usb/uaudio.c#62 edit Differences ... ==== //depot/projects/usb/src/sys/dev/sound/usb/uaudio.c#62 (text+ko) ==== @@ -559,6 +559,13 @@ else return (0); } + + /* check for MIDI stream */ + + if ((uaa->info.bInterfaceClass == UICLASS_AUDIO) && + (uaa->info.bInterfaceSubClass == UISUBCLASS_MIDISTREAM)) { + return (0); + } return (ENXIO); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911201430.nAKEUo3t000215>