From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 26 08:26:29 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 5BE07106566C for ; Tue, 26 Apr 2011 08:26:29 +0000 (UTC) (envelope-from clemens@ladisch.de) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 2BCA68FC16 for ; Tue, 26 Apr 2011 08:26:28 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 6E9F320C25; Tue, 26 Apr 2011 04:08:52 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 26 Apr 2011 04:08:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=Q/g+sUZN9ZxbHgM+odkQ7hRP8vI=; b=PJg2HGUYOw683INFDxn84Ee/btU038vKC/FhBC99WxHnVJddkvN6AsStAOe1ZPve2nBheOfbMRZGNeFy0BRmb7tI8U53wPYEoaPig2R8DdgmTw6i/2nKl5U9m4DxiWji8AuE3hKNg6tux1/aECLV780RIoArlSYxCKC2q3QbLhE= X-Sasl-enc: wWo9VuOs7VApWYDfmFkNuEuStp2kRZt1c7tRrOsWhJYn 1303805332 Received: from [10.1.2.56] (unknown [94.101.37.4]) by mail.messagingengine.com (Postfix) with ESMTPSA id E0C6F442046; Tue, 26 Apr 2011 04:08:51 -0400 (EDT) Message-ID: <4DB67DED.1030906@ladisch.de> Date: Tue, 26 Apr 2011 10:10:21 +0200 From: Clemens Ladisch User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Marcel Bonnet References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org 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:26:29 -0000 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 Regards, Clemens