aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UAudioPlayback_SDL.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UAudioPlayback_SDL.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UAudioPlayback_SDL.pas b/Game/Code/Classes/UAudioPlayback_SDL.pas
index 5dc664fa..1ea0c5b7 100644
--- a/Game/Code/Classes/UAudioPlayback_SDL.pas
+++ b/Game/Code/Classes/UAudioPlayback_SDL.pas
@@ -67,7 +67,7 @@ begin
freq := 44100;
format := AUDIO_S16SYS;
channels := 2;
- samples := 1024; // latency: 23 ms
+ samples := Ini.SDLBufferSize;
callback := @SDLAudioCallback;
userdata := Self;
end;