From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 14 08:55:32 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0894416A4CE for ; Mon, 14 Mar 2005 08:55:32 +0000 (GMT) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 461EA43D53 for ; Mon, 14 Mar 2005 08:55:31 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 626A34D804C; Mon, 14 Mar 2005 17:55:29 +0900 (JST) Date: Mon, 14 Mar 2005 17:55:29 +0900 (JST) Message-Id: <20050314.175529.343177321.kazuhito@ph.noda.tus.ac.jp> To: mat@cnd.mcgill.ca From: Kazuhito HONDA In-Reply-To: <20050313175713.GI2944@cnd.mcgill.ca> References: <20050312194401.GH2944@cnd.mcgill.ca> <20050313140222.92g1lfp60owcsw4o@netchild.homeip.net> <20050313175713.GI2944@cnd.mcgill.ca> X-Mailer: Mew version 3.3 on XEmacs 21.5-b18 (chestnut) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org cc: Alexander@Leidinger.net Subject: Re: uaudio patch, capabilities X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 08:55:32 -0000 Hello, On Mar 13, Alexander Leidinger wrote: > > I think he means: > The audio device doesn't supports a range, it only supports discrete > sampling rates: 44100, 48000 and 96000. I'm not sure what the second > proposal is, but my proposal is (without looking at any code, since I don't > have much time ATM) to provide the posibility to specify multiple > capabilities. So if the device is able to 22500 and 48000 but not 44100, it > should have 2 discrete sampling rates set in the capabilities. That's right. Thanks for crypt-analyzing of my mail :-) And From: Mathew Kanner Subject: Re: uaudio patch, capabilities Date: Sun, 13 Mar 2005 12:57:14 -0500 > One of the things fixed in the patch that we no support *not* > switching to a speed if it is unsupported :) the new patch works enough from that point of sampling converter, though I don't try to record. But minspeed and maxspeed of pcmchan_caps should be limited to capability of FreeBSD itself, (I guess this limit comes from RATEMIN and RATEMAX of feeder_rate,c, isn't it?) because some latest devices have sampling rate over 48 kHz. Or the capability of FreeBSD should be enlarged to 96 kHz. Sincerely, Kazuhito HONDA