Increase SDL soundbuffer for smoother sound playback

before it sounded shitty on my system, no it sounds good.
This commit is contained in:
Daniel Gibson 2016-04-17 01:07:14 +02:00
parent 24dcb9cc4f
commit b934fa1945

View File

@ -258,7 +258,7 @@ static BOOL StartUp_SDLaudio( CSoundLibrary &sl, BOOL bReport=TRUE)
}
sdl_silence = obtained.silence;
sdl_backbuffer_allocation = (obtained.size * 2);
sdl_backbuffer_allocation = (obtained.size * 4);
sdl_backbuffer = (Uint8 *)AllocMemory(sdl_backbuffer_allocation);
sdl_backbuffer_remain = 0;
sdl_backbuffer_pos = 0;