Files
ladybird/Libraries/LibMedia/Audio
Jonathan Gamble d821508775 LibMedia: Fix byte/frame mismatch in conversion to buffer size
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.
2026-01-17 02:20:20 -06:00
..