Lower CPU usage by increasing samples rendered at a time.

This commit is contained in:
Zachary Hall 2023-07-17 16:19:34 -07:00
parent 0c01f2c8f6
commit 03c596c3ce

View file

@ -50,7 +50,7 @@ void Playback::ThreadFunc() {
AUDIO_F32SYS; AUDIO_F32SYS;
#endif #endif
desired.freq = 48000; desired.freq = 48000;
desired.samples = 128; desired.samples = 1024;
desired.channels = 2; desired.channels = 2;
desired.callback = Playback::SDLCallback; desired.callback = Playback::SDLCallback;
desired.userdata = this; desired.userdata = this;