From owner-freebsd-usb@FreeBSD.ORG Sat Dec 25 05:45:23 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 912B816A4CE; Sat, 25 Dec 2004 05:45:23 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F9BA43D2D; Sat, 25 Dec 2004 05:45:23 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])iBP5j7LM101754; Sat, 25 Dec 2004 00:45:07 -0500 Message-ID: <41CCFE62.8050004@elischer.org> Date: Fri, 24 Dec 2004 21:45:06 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: usb@freebsd.org Subject: [Fwd: Re: Hacking usb/uaudio code] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2004 05:45:23 -0000 Just forwarding to the MM list as well as it affects both. -------- Original Message -------- Subject: Re: Hacking usb/uaudio code Date: Fri, 24 Dec 2004 18:29:17 +0900 (JST) From: Kazuhito HONDA To: freebsd-usb@freebsd.org References: <200412010929.iB19TLW08470@Mail.NOSPAM.DynDNS.dK> <41B33A20.29965.9F16D546@localhost> <6.2.0.14.0.20041205164630.0316d8e0@64.7.153.2> <41B34DBF.13262.9F637925@localhost> <200412061345.iB6DjRw14911@Mail.NOSPAM.DynDNS.dK> <41B4BC01.8030203@elischer.org> <200412091400.iB9E0Ns03866@Mail.NOSPAM.DynDNS.dK> <41B8C7A9.3080306@elischer.org> I'm sorry that I didn't search mailing-lists and I didn't find your works in which uaudio codes in NetBSD was merged into FreeBSD. I have already sent PRs which include merged uaudio codes and some suitable codes for FreeBSD sound system. kern/75274 for merging kern/75276 for volumes kern/75311 for recording kern/75316 for selection of a recording sound source without sampling rate changer. Would you please deal with them as you like. And several my expectation: I use Sound Blaster Digital Music (Creative Labs.). Its sampling rate are 48 kHz for playback and 48 kHz and 44.1 kHz for recording, so fixed. I guess that rates of many USB audio devices are fixed. NetBSD sound system has sampling rate and encoding changer (src/sys/aurateconv.c). But I expect that it is difficult to merge the changer into FreeBSD because it may include improvement of the base of the FreeBSD sound system, probably. And I can't find a way to merge its codes into uaudio only. So I had better use esd -r and sox. On the other hand, new uaudio codes are not almighty. I don't have but Mr. kent, NetBSD committer, has Sound Blaster Audigy 2 NX. It has 9 volumes (features) and 3 selectors with 3 inputs and 4 outputs. Mr. kent worked hard to let NetBSD identify roles of these features. But I guess almost features can't be identified in more complicated USB sound devices. Besides, it may be supposed in FreeBSD sound system that sound devices have simple systems like Sound Blaster. This limitation makes it difficult to control several features separately. So I expect that not general uaudio codes but specified audio codes are applied to complicated USB audio devices. Kazuhito HONDA kazuhito@ph.noda.tus.ac.jp _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"