mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-06 14:43:33 +00:00
Increase PulseAudio buffer size
This commit is contained in:
parent
1a71ed813a
commit
82966931f8
@ -129,7 +129,7 @@ struct PulseAudioVoiceEngine : LinuxMidi
|
|||||||
|
|
||||||
pa_buffer_attr bufAttr;
|
pa_buffer_attr bufAttr;
|
||||||
bufAttr.minreq = uint32_t(m_5msFrames * m_sampleSpec.channels * sizeof(float));
|
bufAttr.minreq = uint32_t(m_5msFrames * m_sampleSpec.channels * sizeof(float));
|
||||||
bufAttr.maxlength = bufAttr.minreq * 12;
|
bufAttr.maxlength = bufAttr.minreq * 24;
|
||||||
bufAttr.tlength = bufAttr.maxlength;
|
bufAttr.tlength = bufAttr.maxlength;
|
||||||
bufAttr.prebuf = UINT32_MAX;
|
bufAttr.prebuf = UINT32_MAX;
|
||||||
bufAttr.fragsize = UINT32_MAX;
|
bufAttr.fragsize = UINT32_MAX;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user