pipewire/spa
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
..
examples examples: fix mapoffset in examples 2024-06-13 10:11:29 +02:00
include Revert "loop: don't call the hooks around blocking wait" 2025-07-03 19:52:14 +02:00
include-private/spa-private spa: move dbus helpers out of bluez plugin 2024-02-05 13:03:20 +00:00
plugins alsa: update resampler requested size before reading 2025-07-23 14:58:57 +02:00
tests Add GNU/Hurd support 2023-09-24 15:11:52 +00:00
tools spa: improve JSON error reporting in spa-json-dump 2024-03-27 15:57:39 +01:00
meson.build meson: fix conflicting use of feature-based dependency lookups 2024-07-12 10:28:29 +02:00