mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-20 00:11:31 +00:00
b96f15d2fe
Reorganize the latency setup in one place, return a desired device latency for use as quantum. PulseAudio assigns half of the (tlength - minreq) latency to the sink but we can't do that because our sinks have a max-quantum of latency. Fix this by clamping our calculated sink latency to the quantum PulseAudio subtracts the sink latency from the tlength in adjust latency mode, so we need to do the same. This makes PULSE_LATENCY_MSEC values bahave more like pulseaudio. See #1769 |
||
---|---|---|
.. | ||
daemon | ||
examples | ||
gst | ||
modules | ||
pipewire | ||
tests | ||
tools | ||
meson.build |