mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-12-26 09:59:04 +01:00
[Sokol] Lower audio buffer size to prevent audio lag.
This commit is contained in:
parent
3142dfd841
commit
5314d92ec6
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ sapp_desc sokol_main(int argc, char* argv[]) {
|
||||||
|
|
||||||
saudio_setup(&(saudio_desc){
|
saudio_setup(&(saudio_desc){
|
||||||
.sample_rate = 44100,
|
.sample_rate = 44100,
|
||||||
.buffer_frames = 4096,
|
.buffer_frames = 1024,
|
||||||
.num_packets = 256,
|
.num_packets = 256,
|
||||||
.num_channels = 2,
|
.num_channels = 2,
|
||||||
.stream_cb = platform_audio_callback,
|
.stream_cb = platform_audio_callback,
|
||||||
|
|
Loading…
Reference in a new issue