Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 10:47:01 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@freebsd.org
Cc:        Clemens Ladisch <clemens@ladisch.de>
Subject:   Re: uaudio, M-Audio FastTrack Pro device - sound distorted
Message-ID:  <201104261047.01454.hselasky@c2i.net>
In-Reply-To: <4DB67DED.1030906@ladisch.de>
References:  <BANLkTimAZtcpe2Ba5P0qsHKiH2-G691GCQ@mail.gmail.com> <4DB67DED.1030906@ladisch.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104261047.01454.hselasky>