pipewire/src
Wim Taymans 323ec0b51b pulse-server: improve maxlength calculations
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.
2022-09-26 17:29:17 +02:00
..
daemon systemd: add filter-chain service 2022-08-10 11:35:59 +02:00
examples examples: add capture from monitor option 2022-09-16 11:38:44 +02:00
gst gst: copy buffer memory in dequeue_buffer using gst_memory_copy 2022-08-20 09:30:44 -06:00
modules pulse-server: improve maxlength calculations 2022-09-26 17:29:17 +02:00
pipewire Fix some badly-behaved macros 2022-09-23 11:39:33 -04:00
tests tests: fix clang build 2022-07-08 16:56:48 +02:00
tools Make all fopen() calls use O_CLOEXEC 2022-09-23 15:19:01 +00:00
meson.build treewide: meson.build: use feature.allowed() 2022-02-04 00:15:59 +01:00