pipewire/spa/plugins
Wim Taymans a7322d5043 alsa: improve target delay in ALSA
Don't just limit the max delay of samples we keep in the ALSA ringbuffer
to the buffer_size but to half of it. Make this into a max_delay
variable.

If we have a buffer size of 8192 samples and a headroom of 8192 samples,
when capturing, we would wait for the ringbuffer to contain at least
8192 samples, which would always xrun. When we limit the size to
half, we can still read the data without xruns.

Fixes #2972
2023-03-03 14:59:38 +01:00
..
aec treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa alsa: improve target delay in ALSA 2023-03-03 14:59:38 +01:00
audioconvert audioconvert: copy follower port flags 2023-03-02 12:35:06 +01:00
audiomixer treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
audiotestsrc treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
avb treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
bluez5 bluez5: sources should produce full buffer every cycle 2023-03-02 16:18:27 +00:00
control treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
ffmpeg treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
jack treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
libcamera treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
support treewide: print pthread_t as a pointer 2023-02-25 20:45:28 +01:00
test treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
v4l2 treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
videoconvert treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
videotestsrc treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
volume treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
vulkan treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build bluez5: add GDBus-based object monitor framework 2023-01-24 08:27:56 +00:00