mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
Note that `pa_buffer_attr.tlength` is in bytes, not frames (see `/usr/include/pulse/def.h`). I think the previous code asked for a buffer that is 1/8 what the latency calculation wants (for float32 stereo), resulting in too frequent write callbacks, higher wakeup/CPU churn, higher risk of crackles under load.