[alsa-devel] runtime->boundary

Harsha, Priya priya.harsha at intel.com
Fri Jul 10 08:30:09 CEST 2009


Hi,

Can anyone help explain what is runtime->boundary and what is the value that is set for this? It seems to be a pretty huge value when I try and print it.

Also in snd_pcm_indiret_capture_transfer, I see this code snippet;


If (diff < runtime->boundary /2)
	diff += runtime->boundary

what is the reason for the same? If its for handling ring buffer wrapping, should I be setting my runtime->boundary to rumtime->buffer_size in the driver code?

Thanks,
Harsha



More information about the Alsa-devel mailing list