28 Mar
2007
28 Mar
'07
2:40 p.m.
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