28 Jun
2010
28 Jun
'10
2:37 a.m.
2010/6/28 David Dillow dave@thedillows.org
Perhaps documentation that recommends setting avail_min to 1 when using read/write to avoid this issue would be helpful, in lieu of changing the ALSA code or giving concrete guarantees.
Dave
Refer to http://article.gmane.org/gmane.linux.alsa.devel/69333/match=avail_min
avail_min cannot be less than period size , however set_avail_min() did not return any error when the value is less than period size and this mislead the programmers to believe that they can set avail_min to 1
if you want low latency, you need to use small period size