mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
Raise the maximum length of the PulseAudio buffer to fix crackling sound.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user