use 4 periods in ALSA instead of 2 for lower latency if possible
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Oct 2009 03:05:06 +0000 (03:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Oct 2009 03:05:06 +0000 (03:05 +0000)
commitdddbdc6b25d1989625543457ebc97cba372b0e42
tree244c9d1e15ae89ae5eeaaae1208f7b02c6fb1b95
parent46c749cbb2680972db414f797ed461591b20c1be
use 4 periods in ALSA instead of 2 for lower latency if possible
request a power of 2 buffer size in ALSA (maybe better compatibility)
thanks to Diablo-D3 for a patch I based this functionality on

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9268 d7cf8633-e32d-0410-b094-e92efae38249
snd_alsa.c