From d2a668091ec3d785181a15a8ed18323b5980bb1b Mon Sep 17 00:00:00 2001 From: fgsfds Date: Thu, 12 Mar 2020 22:14:57 +0300 Subject: [PATCH] AL: remove debug print --- src/engine/e_sound_al.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.29.2