what is period_size, buffer_size and boundary size, i confuse them
can anyone help me to figure out the concepts between period_size ,buffer_size and boundary size? n * period_size = buffer_size?
m * buffer_size = boundary_size?
and how the dma buffer mapped to the alsa buffer?
thank you .
br
Quoted 2 lines · l9jj wrote:
can anyone help me to figure out the concepts between
period_size,buffer_size and boundary size? n *period_size=buffer_size?
Yes. On many devices, n is not required to be an integer.
Quoted 1 line
m *
buffer_size=boundary_size?
Yes, where m is very big. In applications, the actual value of the boundary size does not matter (except as a special value for some sw params).
Quoted 1 line
and how the dma buffer mapped to the alsa buffer?
The DMA buffer _is_ the ALSA buffer.
Regards,
Clemens