From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 6 17:43:27 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 E310F16A4CE for ; Sun, 6 Mar 2005 17:43:27 +0000 (GMT) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FE9143D53 for ; Sun, 6 Mar 2005 17:43:27 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd27.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1D7zmo-0003an-01; Sun, 06 Mar 2005 18:43:26 +0100 Received: from Andro-Beta.Leidinger.net (GEeBosZ-YekZy81Lh0wXFLvW8I7nq9r+sn3EuGjExRxif+XOlTy5ZL@[84.128.202.132]) by fwd27.sul.t-online.de with esmtp id 1D7zmX-1atYXI0; Sun, 6 Mar 2005 18:43:09 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) j26HgDtx030269; Sun, 6 Mar 2005 18:42:13 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 6 Mar 2005 18:44:16 +0100 From: Alexander Leidinger To: Mathew Kanner Message-ID: <20050306184416.5603976c@Magellan.Leidinger.net> In-Reply-To: <20050306171027.GE4237@cnd.mcgill.ca> References: <20050305224005.GC4237@cnd.mcgill.ca> <20050306162811.694d9c82@Magellan.Leidinger.net> <20050306171027.GE4237@cnd.mcgill.ca> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: GEeBosZ-YekZy81Lh0wXFLvW8I7nq9r+sn3EuGjExRxif+XOlTy5ZL@t-dialin.net X-TOI-MSGID: 24ebe20a-97a9-4c2f-a67f-ed446216c6c2 cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio patch, configurable buffer size 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: Sun, 06 Mar 2005 17:43:28 -0000 On Sun, 6 Mar 2005 12:10:27 -0500 Mathew Kanner wrote: > > Can you also please have a look at PR usb/78028? It adds some info to > > /dev/sndstat. > > For now I don't object to his first try that always producing > verbose output for format discovery. The second part that adds sndstd I don't think we should clutter the boot process with this output. If it's interesting for someone, he shouldn't need to look at those messages. That's the reason I proposed to add the information to sndstat. > output I think is wrong as it duplicates sndstd itself (though a > little prettier). Do we have a way to extend sndstat? If not, we should add it, since a device may have to say something interesting about its capabilities (read: it would be nice if every device would tell the use about its capabilities in sndstat). > However in the long term I don't think it's the right thing. > The reason (I'm guessing) he wants the verbose output all the time is > to be able to choose according the devices capabilities. The problem > is we always reports supporting speeds in between [4000,48000], so for Why? > example on my device which only supports 48000hz, mplayer will happily > try 44100hz and produce no output. Forcing resample to 48000 (mplayer > -af resample=48000 ...) works. The situation is even worse in regards > to reporting soft formats as you might not get a vote in what speed > the hardware device gets set at. (All the same applies to formats as > well). So either we need a format converter in the kernel (looks ugly to me, it belongs IMHO into the userland, but NetBSD seems to have this possibility in the kernel), or we need to reject incompatible use. Bye, Alexander. -- To boldly go where I surely don't belong. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7