mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-18 08:56:45 -05:00
When no maxlength is given, we use the MAXLENGTH value but we need to round it DOWN (instead of up) because our buffer is only MAXLENGTH big. Use CLAMP where we can. When in capture mode, the maxlength exceeds MAXLENGTH, scale down the fragsize instead. Fixes noise in audacious when playing 6 channels sounds. float32 * 6 channels with the maximum buffer size would result in the ringbuffer being overwritten. |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||