Improved timing of audio synth

This commit is contained in:
Andrew Alderwick 2021-04-16 11:02:04 +01:00
parent d1fc6c1860
commit 031fe3fb26
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ init(Uxn *u)
as.format = AUDIO_S16; as.format = AUDIO_S16;
as.channels = 2; as.channels = 2;
as.callback = audio_callback; as.callback = audio_callback;
as.samples = 2048; as.samples = 512;
as.userdata = u; as.userdata = u;
audio_id = SDL_OpenAudioDevice(NULL, 0, &as, NULL, 0); audio_id = SDL_OpenAudioDevice(NULL, 0, &as, NULL, 0);
if(!audio_id) if(!audio_id)