pipewire/spa/plugins
Wim Taymans f515f12916 alsa: update resampler requested size before reading
spa_alsa_read is called from the source process function when we are a
follower and no buffer is ready yet.

Part of the rate correction was performed by the ALSA driver when it
woke up but now, the resampler has updated the requested size and we
need to requery it before we can start reading samples.

Otherwise, we end up with requested samples from before the rate update
and we might not give enough samples to the resampler. In that case, the
adapter will call us again and we will again try to produce a buffer
worth of the requested samples, which will xrun.
2025-07-23 14:58:57 +02:00
..
aec spa: aec: webrtc: Fix multichannel processing 2024-06-25 15:34:30 -04:00
alsa alsa: update resampler requested size before reading 2025-07-23 14:58:57 +02:00
audioconvert audioconvert: only output when there is something to output 2024-11-06 11:19:27 +01:00
audiomixer spa: revert peer_enum_params node event again 2024-06-20 10:22:45 +02:00
audiotestsrc spa: audiotestsrc: Validate loop and system before using them 2024-11-06 10:49:51 +01:00
avb spa: small cleanups 2024-01-10 15:51:01 +01:00
bluez5 bluez5: aac: fix for A2DP v1.4 using rfa bits for more channels 2025-07-11 10:31:23 +03:00
control spa: revert peer_enum_params node event again 2024-06-20 10:22:45 +02:00
ffmpeg spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
jack spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
libcamera spa: libcamera: don't use fixed size buffers for properties 2025-02-06 15:08:26 +01:00
support Revert "loop: don't call the hooks around blocking wait" 2025-07-03 19:52:14 +02:00
test spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
v4l2 v4l2: handle nearest set_format 2025-04-14 12:47:49 +02:00
videoconvert adapter: increase max-retry to 64 2024-10-07 18:36:03 +02:00
videotestsrc spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
volume spa: fix volume plugin compilation 2024-06-18 15:44:26 +02:00
vulkan vulkan: fix compilation 2024-06-18 15:16:06 +02:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00