At Wed, 26 Mar 2008 18:29:18 -0700 (PDT),
Bill Unruh wrote:
> 
> On Thu, 27 Mar 2008, Rene Herman wrote:
> 
> > On 26-03-08 23:57, Bill Unruh wrote:
> >
> >>  On Wed, 26 Mar 2008, Helge Fredriksen wrote:
> >> 
> >> >  Ok, here's what I found out:
> >> > 
> >> >  Since these cards seem to lack the support for doing frequency 
> >> >  conversion in
> >> >  HW, you simply need to use the alsa plugin
> >> >  plughw instead of hw when referring to the card:
> >> > 
> >> >  arecord -Dplughw:0  test.wav
> >> >  aplay -Dplughw:0 test.wav
> >>
> >>  AFAIK, alsa frequency conversion is pretty primative ( linear
> >>  interpolation) which produces a huge amount of noise/distortion.
> >
> > The default is, but if you install the alsa-plugins package (and 
> > libsamplerate) and add a line
> >
> > defaults.pcm.rate_converter "samplerate"
> >
> > in /etc/alsa.conf or ~/.asoundrc, things should be better (untested advice).
> 
> The question is how much latency does that introduce.

The latency isn't a big problem for this at all.  It may cost a little
bit more CPU power, but I'm sure you would never notice it even
closely looking at xload, especially if you use speexrate plugin.


Takashi

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to