mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-26 15:44:51 +01:00
Increase SDL soundbuffer for smoother sound playback
before it sounded shitty on my system, no it sounds good.
This commit is contained in:
parent
24dcb9cc4f
commit
b934fa1945
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user