From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 26 08:48:08 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 617581065670 for ; Tue, 26 Apr 2011 08:48:08 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id E08B28FC1C for ; Tue, 26 Apr 2011 08:48:07 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=upTJuTb3ngPPUUVVSPoyO7jwIWz3rzPtkQxI490l6Ks= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=yNLj92IrXO4A:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=foHCeV_ZAAAA:8 a=CWSAGsJADrHaMbZ1kNoA:9 a=FWtDBwIv2CE7tmhBXEkA:7 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 117448197; Tue, 26 Apr 2011 10:48:03 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 26 Apr 2011 10:47:01 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4DB67DED.1030906@ladisch.de> In-Reply-To: <4DB67DED.1030906@ladisch.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104261047.01454.hselasky@c2i.net> Cc: Clemens Ladisch Subject: Re: uaudio, M-Audio FastTrack Pro device - sound distorted 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: Tue, 26 Apr 2011 08:48:08 -0000 On Tuesday 26 April 2011 10:10:21 Clemens Ladisch wrote: > Marcel Bonnet wrote: > > I'm using the M-AUDIO FastTrack Pro USB audio interface, but every time I > > play or record, the sound get distorted. > > > > uaudio0: Play: 44100 Hz, 2 ch, 16-bit S-LE PCM format > > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > > This device uses one internal sample rate; using different rates for the > playback and capture interfaces won't work. > > AFAIK there are some undocumented constraints on which configurations > and alternate settings can be used; and in some alternate settings, the > device uses big-endian samples. This cannot be handled with the generic > parts of the uaudio driver; it requires device-specific workarounds. > > There is an outdated patch that tries to make this device work on Linux > on this page: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3249 > > Try to set: sysctl hw.usb.uaudio.default_rate=44100 Then replug the device. We could possible make a workaround for this. --HPS