Subject: Re: NetBSD plays .wav ultra fast
To: Nigel Reed <firstname.lastname@example.org>
From: Lennart Augustsson <email@example.com>
Date: 07/11/2001 09:08:26
Nigel Reed wrote:
> On Wed, Jul 11, 2001 at 08:20:29AM +0200, Martin Husemann wrote:
> > > a current kernel, I thought I'd try the current list....Any ideas?
> > What soundcard are you using?
> > Have you tried playing back via vgetty (i.e. the modem)?
> > Martin
> It's the sound card built into the motherboard.
> auvia0 at pci0 dev 7 function 5: VIA VT82C686A AC'97 Audio (rev H)
> auvia0: interrupting at irq 10
> auvia0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, Rockwell 3D
> auvia0: warning: codec doesn't support hardware AC'97 2.0 Variable Rate Audio
> audio0 at auvia0: full duplex, mmap, independent
And right there is your problem. The codec doesn't support variable rate, so the
correct rate cannot be set. The kernel does not provide sample rate conversion,
so it will play at whatever rate your card supports (probably 48kHz).
You can use sox to convert it.