Lower CPU usage by increasing samples rendered at a time.
This commit is contained in:
parent
0c01f2c8f6
commit
03c596c3ce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue