pipewire/spa/plugins
Wim Taymans a95d6dd553 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:50:05 +02:00
..
aec spa: aec: webrtc: Expose echo canceller mobile_mode 2025-07-09 13:29:23 -04:00
alsa alsa: update resampler requested size before reading 2025-07-23 14:50:05 +02:00
audioconvert spa: audioconvert: Avoid reading past filter-graph param name end 2025-07-09 12:14:27 -04:00
audiomixer spa: use static inline for interfaces instead of macro 2024-11-26 11:35:49 +01: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 alsa: remove UMP flag from control format 2025-05-23 17:00:16 +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 libcemara: take care of index offset when enumerating controls 2025-05-20 10:53:55 +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 v4l2: Re-enable first buffer skip for jpeg types 2025-05-17 15:08:45 +02:00
videoconvert adapter: use the right default when filtering default 2025-06-03 10:54:07 +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