DEADSOFTWARE

AL: remove debug print
authorfgsfds <pvt.fgsfds@gmail.com>
Thu, 12 Mar 2020 19:14:57 +0000 (22:14 +0300)
committerfgsfds <pvt.fgsfds@gmail.com>
Thu, 12 Mar 2020 19:14:57 +0000 (22:14 +0300)
src/engine/e_sound_al.inc

index ac64ad41d7f8e2d6d83ce7a5c92070270c80d671..d3ee161d8c3e099aaa24ae52793b2078a93343be 100644 (file)
@@ -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();