From b934fa1945c035e7b81d9570d1fd28501d9059ee Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 17 Apr 2016 01:07:14 +0200 Subject: [PATCH] Increase SDL soundbuffer for smoother sound playback before it sounded shitty on my system, no it sounds good. --- Sources/Engine/Sound/SoundLibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Engine/Sound/SoundLibrary.cpp b/Sources/Engine/Sound/SoundLibrary.cpp index 4ff9f38..1965024 100644 --- a/Sources/Engine/Sound/SoundLibrary.cpp +++ b/Sources/Engine/Sound/SoundLibrary.cpp @@ -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;