[LAU] Sample rate conversion for media playback

Florian Schmidt mista.tapas at gmx.net
Thu Apr 10 01:22:44 EDT 2008


On Thursday 10 April 2008, Darren Landrum wrote:
> James Cameron wrote:
> > G'day Darren,
> >
> > What is supposed to happen is that the application that is playing the
> > audio should set the sound card to the sample rate of the audio source.
> > It does this by issuing commands to the sound card driver, or sound
> > server.
> >
> > If the sound card is forced to another rate, then sure, you'll get pitch
> > and speed changes.
>
> Well, that would explain a few things, as I have to adjust the rate
> manually through Alsamixer, and 44.1 and 48khz are the only options this
> card supports. It's the same deal on the Windows side, though, and I can
> still play back 22.05khz stuff back with no issues. It's possible that
> the factory drivers from Emu are doing the SRC on the fly in the
> background when needed.

Yeah and ALSA should do the same. It already does this for quite a few cards. 
I'd write a mail to ALSA-users and see what the ALSA guys say about it.

Regards,
Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org



More information about the Linux-audio-user mailing list