* dmix needs at least 2 buffers to work succesfully but prefers 3
* however it seems to work ok if I just commit 2 1/2 buffers
*/
if(psize>=512)
{
{
if(++warnonce==1)
if(psize>512&&++warnonce==1)
FIXME("Your alsa dmix period size is excessively high, unfortunately this is alsa default, try decreasing it to 512 or 256 (but double the amount of periods) if possible\n");
FIXME("Your alsa dmix period size is excessively high, unfortunately this is alsa default, try decreasing it to 512 or 256 (but double the amount of periods) if possible\n");