Re: issue at 44.1 Khz capturing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux