[alsa-devel] arecord: does hardware or software throw away unused

Clemens Ladisch clemens at ladisch.de
Fri Sep 16 09:26:00 CEST 2016


Rob Nertney wrote:
> If I define my hw_params like this, is it correct for multiple channels?
>
> channels_min = 1
> channels_max = 16

I don't know what the actual constraints of your hardware are.

> buffer_bytes_max = 32768
> period_bytes_min = 32768/16
> period_bytes_max = 32768/16
> periods_min = 16
> periods_max = 16
>
> Everything is really associated around a 2048 Byte IRQ.

Is that an actual constraint of your hardware?

Anyway, this will not work with, e.g., 15 channels; 60-byte frames do
not fit into 32768 bytes.


Regards,
Clemens


More information about the Alsa-devel mailing list