pipewire/spa/plugins
Peter Ujfalusi ba7790123c alsa: Use the minimum period size as headroom for SOF cards
Configure the headroom to be equal of the minimum allowed period size for
the configuration.

This is desirable when the ALSA driver's hw_ptr is 'jumpy' due to
underplaying hardware architecture, like SOF.
In case of SOF the DSP firmware will burst read at stream start to fill
it's host facing buffer and later settles to a constant pace. The minimal
period size is constrained by the driver to cover the initial burst and
settling time of the hw_ptr.

Guard this mode of working with a new boolean flag, which is only enabled
for SOF cards, kept it disabled for other cards to avoid any unforeseen
side effects.

Even if the use-period-size-min-as-headroom is set to true, the manual
headroom configuration will take precedence to allow experimentation.

Link: https://github.com/thesofproject/linux/issues/5284
Link: https://github.com/thesofproject/sof/issues/9695#issuecomment-2569033847
Link: https://github.com/thesofproject/sof/issues/10172
Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4489
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2025-09-29 17:32:33 +02:00
..
aec spa: aec: webrtc: Expose echo canceller mobile_mode 2025-07-09 13:29:23 -04:00
alsa alsa: Use the minimum period size as headroom for SOF cards 2025-09-29 17:32:33 +02:00
audioconvert adapter: fix Start of adapter 2025-09-29 17:26:20 +02:00
audiomixer audiomixer: set change mask correctly 2025-09-10 10:20:34 +02:00
audiotestsrc spa: audiotestsrc: Validate loop and system before using them 2024-10-23 08:25:30 -04:00
avb json: add helper function to parse channel positions 2024-09-18 09:54:34 +02:00
bluez5 bluez5: aac: fix for A2DP v1.4 using rfa bits for more channels 2025-07-10 17:17:22 +03:00
control control: fix event compare function 2025-09-17 10:29:15 +02:00
ffmpeg spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
filter-graph filter-graph: fix index off by one in dsp_delay_c 2025-07-22 15:54:48 +02:00
jack spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
libcamera spa: libcamera: source: fix typo in log message 2025-09-27 13:22:59 +02:00
support Revert "loop: don't call the hooks around blocking wait" 2025-06-26 12:45:29 +02:00
test spa: make the wave, pattern and ditherType Int 2025-06-13 11:53:42 +02:00
v4l2 treewide: map SPA_PROP_exposure to V4L2_CID_EXPOSURE_ABSOLUTE 2025-09-10 10:28:08 +02:00
videoconvert adapter: fix Start of adapter 2025-09-29 17:26:20 +02:00
videotestsrc Port videotestsrc to LoopUtils 2024-07-01 15:28:14 +00:00
volume spa: fix volume plugin compilation 2024-06-18 15:44:26 +02:00
vulkan spa: vulkan: simplify memcpy() call 2024-12-14 23:28:43 +01:00
meson.build filter-chain: move the filter-graph to plugins 2024-11-13 11:12:06 +01:00