shithub: wipeout

Download patch

ref: 5314d92ec6d4f5987fe442a73d30aff747fc667c
parent: 3142dfd84101d54507601f4c86a2826989ca94ad
author: Dominic Szablewski <[email protected]>
date: Tue Aug 15 15:32:47 EDT 2023

[Sokol] Lower audio buffer size to prevent audio lag.

--- a/src/platform_sokol.c
+++ b/src/platform_sokol.c
@@ -237,7 +237,7 @@
 
 	saudio_setup(&(saudio_desc){
 		.sample_rate = 44100,
-		.buffer_frames = 4096,
+		.buffer_frames = 1024,
 		.num_packets = 256,
 		.num_channels = 2,
 		.stream_cb = platform_audio_callback,