[alsa-devel] Difference between boundary and buffer_size
Clemens Ladisch
clemens at ladisch.de
Thu Nov 3 21:01:59 CET 2016
Alan Young wrote:
> there are always initialized to the same value.
No. Have a look into /proc/asound/cardX/pcm0p/sub0/hw_params.
> In what circumstance might they be different?
Always.
The boundary value is an integer multiple of the buffer size. It's used
to allow computing the difference of two pointer values even if that
difference is larger than the buffers size.
Regards,
Clemens
More information about the Alsa-devel
mailing list