Merge pull request #24 from vanfanel/lower_audiobuffer

[SDL2] Lower audio buffer size to prevent audio lag.
This commit is contained in:
Dominic Szablewski 2023-08-15 19:32:15 +02:00 committed by GitHub
commit 3142dfd841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ int main(int argc, char *argv[]) {
.freq = 44100,
.format = AUDIO_F32,
.channels = 2,
.samples = 4096,
.samples = 1024,
.callback = platform_audio_callback
}, NULL, 0);