[alsa-devel] what is period_size, buffer_size and boundary size, i confuse them

Clemens Ladisch clemens at ladisch.de
Mon Dec 10 09:24:37 CET 2012


l9jj at 163.com wrote:
> does  the variable buffer_size equal to  DMA size?

Yes.

> (2)how the pos>buffer_size will happen in the interface snd_pcm_update_hw_ptr0()?

It happens when your driver has a bug.  The .pointer callback always must
return value that is inside the DMA buffer.


Regards,
Clemens


More information about the Alsa-devel mailing list