From owner-freebsd-hackers@FreeBSD.ORG Mon May 31 10:20:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F069216A4CE for ; Mon, 31 May 2004 10:20:44 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8088D43D5A for ; Mon, 31 May 2004 10:20:44 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id i4VHL1K0093510; Mon, 31 May 2004 13:21:01 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id i4VHKv5L093509; Mon, 31 May 2004 13:20:57 -0400 (EDT) Date: Mon, 31 May 2004 13:20:57 -0400 From: Mathew Kanner To: takawata@jp.freebsd.org Message-ID: <20040531172057.GD92188@cnd.mcgill.ca> References: <200405310222.i4V2M1YQ040116@sana.init-main.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200405310222.i4V2M1YQ040116@sana.init-main.com> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.62 X-Spam-Checker-Version: SpamAssassin 2.62 (2004-01-11) on hak.cnd.mcgill.ca cc: freebsd-hackers@freebsd.org Subject: Re: uaudio patch for accepts only fixed sampling rate X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 17:20:45 -0000 On May 30, takawata@jp.freebsd.org wrote: > Hi, I bought a USB speaker that accepts > 48khz audio bitrate only. And current uaudio code > try to set if device cannot accept bitrate change request. > > So I wrote a patch > > http://www.init-main.com/uaudio.diff > > This code is partly copy-n-paste from NetBSD specific > part now. With this code, upper layer can see it is > not acceptable and invoke format converter. Hey, I'm also working on USB audio. It just doesn't work for me and I'm getting a ton locking issues. At the moment, I've merged most of the netbsd uaudio stuff. My question to you is, does uaudio work in fbsd 5+ for you? --Mat -- In general, a standard is very useful, whether it's de facto or du jour. - Microsoft's Greg Sullivan as misquoted by News.Com