ref: d1a412594c80aeec2587da26ea01b59e2df58d8a
parent: 676d4ef6eeeaa380c586f80c49449bd7a5336ce8
author: vanfanel <[email protected]>
date: Tue Aug 15 14:18:04 EDT 2023
[SDL2] Lower audio buffer size to prevent audio lag.
--- a/src/platform_sdl.c
+++ b/src/platform_sdl.c
@@ -253,7 +253,7 @@
.freq = 44100,
.format = AUDIO_F32,
.channels = 2,
- .samples = 4096,
+ .samples = 1024,
.callback = platform_audio_callback
}, NULL, 0);