[alsa-devel] what is period_size, buffer_size and boundary size, i confuse them
9 Dec
2012
9 Dec
'12
3:37 p.m.
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
9 Dec
9 Dec
5:22 p.m.
New subject: [alsa-devel] what is period_size, buffer_size and boundary size, i confuse them
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.
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).
and how the dma buffer mapped to the alsa buffer?
The DMA buffer _is_ the ALSA buffer.
Regards, Clemens
4396
Age (days ago)
4396
Last active (days ago)
1 comments
2 participants
participants (2)
-
Clemens Ladisch
-
l9jj