mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-30 07:41:16 +00:00
* Made the default SDL dma buffer larger
This commit is contained in:
parent
52dcaa45fd
commit
6797dcc705
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue