From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 28 13:40:52 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 1495416A420 for ; Fri, 28 Oct 2005 13:40:52 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) 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 6C75343D4C for ; Fri, 28 Oct 2005 13:40:50 +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 D434B6E40CB; Fri, 28 Oct 2005 22:40:49 +0900 (JST) Date: Fri, 28 Oct 2005 22:40:49 +0900 (JST) Message-Id: <20051028.224049.343190967.kazuhito@ph.noda.tus.ac.jp> To: Alexander@Leidinger.net From: Kazuhito HONDA In-Reply-To: <20051027133448.vptim01kwoco8wcw@netchild.homeip.net> References: <435B4EBE.5030502@intersonic.se> <20051027.040902.343165902.kazuhito@ph.noda.tus.ac.jp> <20051027133448.vptim01kwoco8wcw@netchild.homeip.net> X-Mailer: Mew version 3.3 on XEmacs 21.5-b22 (cucumber) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, skywizard@MyBSD.org.my Subject: Re: uaudio and Digigram UAX220 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 13:40:52 -0000 From: Alexander Leidinger Subject: Re: uaudio and Digigram UAX220 Date: Thu, 27 Oct 2005 13:34:48 +0200 > Kazuhito HONDA wrote: > > > -static struct pcmchan_caps ua_playcaps = {8000, 48000, ua_playfmt, 0}; > > +static struct pcmchan_caps ua_playcaps = {8000, 96000, ua_playfmt, 0}; > > You also enhanced the capabilities for playing and recording. I'm not very > familiar with this (sound system capabilities handling and the USB audio > standard), but isn't this a property of the underlying hardware and should > be probed? The protocol of USB audio doesn't decides sampling rate, and sampling rates are various according to the devices. For example, I have three USB audio devices. One's sampling rate is 48 kHz. another supports 44.1 kHz and 48 kHz. The end can be use at 44.1 kHz, 48 kHz and 96 kHz. So Sampling rate should be probed. Though I don't know a correct method for sending the sampling rate to the sound system, Mathew KAnner has already written the patch for this problem. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3877+0+archive/2005/freebsd-multimedia/20050424.freebsd-multimedia This patch includes solutions for other problems. Because it is old, it must be changed along recent codes. Sincerely yours, Kazuhito HONDA