[alsa-devel] snd-es1968 capture broken

Takashi Iwai tiwai at suse.de
Wed Mar 28 13:40:02 CEST 2007


At Wed, 28 Mar 2007 13:03:51 +0200,
Rene Herman wrote:
> 
> On 03/28/2007 12:43 PM, Rene Herman wrote:
> 
> > Bingo, that's it. "arecord --period-size=4096 --buffer-size=16384 -f cd" 
> > works fine. I guess it should be forcing power of 2 then?
> 
> Only --period-size=4096 is not enough. It then has a buffer-size of
> 22016 and the stutter is there.
> 
> --buffer-size=8192 --period-size=4000 is fine though. So, buffer-size...

You can try snd_pcm_hw_constraint_pow2() there.  But, IIRC,
power-of-two constraint causes problems when you use buffer_time
instead of buffer_size.  Anyway, worth try once.


Takashi


More information about the Alsa-devel mailing list