mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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> |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||