* Made the default SDL dma buffer larger

This commit is contained in:
Tim Angus 2005-09-30 22:30:22 +00:00
parent 52dcaa45fd
commit 6797dcc705
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ qboolean SNDDMA_Init(void)
// reasonable...this is why I let the user override. // reasonable...this is why I let the user override.
tmp = sdlmixsamps->value; tmp = sdlmixsamps->value;
if (!tmp) if (!tmp)
tmp = (obtained.samples * obtained.channels) * 4; tmp = (obtained.samples * obtained.channels) * 10;
if (tmp & (tmp - 1)) // not a power of two? Seems to confuse something. if (tmp & (tmp - 1)) // not a power of two? Seems to confuse something.
{ {