From owner-freebsd-hackers@FreeBSD.ORG Mon May 31 15:56:27 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 D056416A4CE for ; Mon, 31 May 2004 15:56:27 -0700 (PDT) Received: from sana.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B49143D48 for ; Mon, 31 May 2004 15:56:25 -0700 (PDT) (envelope-from takawata@init-main.com) Received: from init-main.com (localhost [127.0.0.1]) by sana.init-main.com (8.12.11/8.12.11) with ESMTP id i4VMrd4C044360; Tue, 1 Jun 2004 07:53:39 +0900 (JST) (envelope-from takawata@init-main.com) Message-Id: <200405312253.i4VMrd4C044360@sana.init-main.com> To: Mathew Kanner From: takawata@jp.freebsd.org In-reply-to: Your message of "Mon, 31 May 2004 13:20:57 -0400." <20040531172057.GD92188@cnd.mcgill.ca> Date: Tue, 01 Jun 2004 07:53:39 +0900 Sender: takawata@init-main.com 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 22:56:27 -0000 In message <20040531172057.GD92188@cnd.mcgill.ca>, Mathew Kanner wrote: >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? Yes, it works for me. And I found a bug that will break unit management for pcm layer. It is already committed.