From: Ketmar Dark Date: Thu, 7 Apr 2016 01:34:14 +0000 (+0300) Subject: increased SDL sound buffer X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=ff1017e1923bcf524a9b0006d64cb88b7ddf98d1;p=d2df-sdl.git increased SDL sound buffer --- diff --git a/src/engine/e_sound.pas b/src/engine/e_sound.pas index f7b2089..76f9929 100644 --- a/src/engine/e_sound.pas +++ b/src/engine/e_sound.pas @@ -134,7 +134,7 @@ begin end; } - res := Mix_OpenAudio(44100, AUDIO_S16LSB, 2, 512); + res := Mix_OpenAudio(44100, AUDIO_S16LSB, 2, 2048); if res = -1 then begin e_WriteLog('Error initializing SDL mixer:', MSG_FATALERROR);