From owner-p4-projects@FreeBSD.ORG Fri Nov 20 14:30:51 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 21B721065679; Fri, 20 Nov 2009 14:30:51 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA66C106566C for ; Fri, 20 Nov 2009 14:30:50 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C75518FC13 for ; Fri, 20 Nov 2009 14:30:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nAKEUoIN000217 for ; Fri, 20 Nov 2009 14:30:50 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAKEUo3t000215 for perforce@freebsd.org; Fri, 20 Nov 2009 14:30:50 GMT (envelope-from hselasky@FreeBSD.org) Date: Fri, 20 Nov 2009 14:30:50 GMT Message-Id: <200911201430.nAKEUo3t000215@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 170866 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 14:30:51 -0000 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); }