10 Aug
2009
10 Aug
'09
3:34 p.m.
(please don't top-post)
Harsha, Priya wrote:
I see that the buffer allocated is 22050 bytes (and not 22052 bytes). Yes the hardware supports buffers which are not multiple of period size.
But there may be a (driver) bug that affects the last byte. Try calling
snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
in the open callback.
Can I forcefully set my buffer size to 22052 bytes
Try the --buffer-size and --period-size parameters of arecord.
HTH Clemens