From: fgsfds Date: Thu, 12 Mar 2020 19:14:57 +0000 (+0300) Subject: AL: remove debug print X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=d2a668091ec3d785181a15a8ed18323b5980bb1b;p=d2df-sdl.git AL: remove debug print --- diff --git a/src/engine/e_sound_al.inc b/src/engine/e_sound_al.inc index ac64ad4..d3ee161 100644 --- a/src/engine/e_sound_al.inc +++ b/src/engine/e_sound_al.inc @@ -125,7 +125,7 @@ var StreamThread: TThreadID = NilThreadId; StreamThreadRunning: Boolean = False; StreamLock: TRTLCriticalSection; - StreamBufTime: Integer = 100; // time to sleep between buffer checks + StreamBufTime: Integer = 10; // time to sleep between buffer checks procedure UpdateStreamSource(Src: Integer); forward; @@ -505,7 +505,6 @@ begin (STREAM_BUFSIZE div (2 * e_SoundsArray[ID].Loader.Format.SampleBits div 8)) div (e_SoundsArray[ID].Loader.Format.SampleRate div 1000) - 1; if StreamBufTime < 1 then StreamBufTime := 1; - e_LogWritefln('sleep time = %d', [StreamBufTime]); {$ENDIF} // reset position e_SoundsArray[ID].Loader.Restart();