From owner-cvs-all@FreeBSD.ORG Wed Apr 27 20:48:03 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACE9916A4CE; Wed, 27 Apr 2005 20:48:03 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C0143D58; Wed, 27 Apr 2005 20:48:03 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IFM00MJRHIIZ960@bgo1smout1.broadpark.no>; Wed, 27 Apr 2005 22:42:18 +0200 (CEST) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IFM003M6HTPHW10@bgo1sminn1.broadpark.no>; Wed, 27 Apr 2005 22:49:01 +0200 (CEST) Received: by dsa.des.no (Pony Express, from userid 666) id A8381452D2; Wed, 27 Apr 2005 22:48:01 +0200 (CEST) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id DABDA45171; Wed, 27 Apr 2005 22:47:55 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id D0A7E33C09; Wed, 27 Apr 2005 22:47:55 +0200 (CEST) Date: Wed, 27 Apr 2005 22:47:55 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <20050427190022.GD11709@cnd.mcgill.ca> To: Mathew Kanner Message-id: <86br800ww4.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <200504271716.j3RHGRSq039872@repoman.freebsd.org> <20050427190022.GD11709@cnd.mcgill.ca> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Julian Elischer cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound/usb uaudio.c uaudio.h uaudio_pcm.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 20:48:03 -0000 Mathew Kanner writes: > On Apr 27, Julian Elischer wrote: > > julian 2005-04-27 17:16:27 UTC > > Log: > > Add code from Kazuhito HONDA that allows the user to see > > the available modes in /dev/sndstat. > As I said before, I object to this as it is inconsistent with > the rest of sound. This information should be available via dmesg and > boot_verbose. It is pretty pointless anyway since the kernel will happily resample and convert any other format (within reason). Just pick the one that best fits the data you're working with and feed it to the kernel, and the sound code will do the rest. AFAIK it supports straight linear sampling and logarithmic (u-law / a-law) sampling in 4-, 8- and 16-bit mono and stereo at any sampling rate between 4 and 48 kHz in 25 Hz increments. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no