1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 00:24:24 +02:00

Raise the maximum length of the PulseAudio buffer to fix crackling sound.

This commit is contained in:
Pablo
2017-09-22 21:23:40 -03:00
parent 3664004238
commit 5e4992b444

View File

@@ -48,7 +48,7 @@ void sndInit() {
};
static const pa_buffer_attr attr = {
.maxlength = SND_DATA_SIZE * 2,
.maxlength = SND_DATA_SIZE * 4,
.tlength = 0xFFFFFFFF,
.prebuf = 0xFFFFFFFF,
.minreq = SND_DATA_SIZE,