pipewire/spa
Wim Taymans 685aed1de2 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-22 16:48:43 +02:00
..
examples Port videotestsrc to LoopUtils 2024-07-01 15:28:14 +00:00
include pod: improve compare function 2025-07-22 14:19:08 +02:00
include-private/spa-private spa: move dbus helpers out of bluez plugin 2024-02-05 13:03:20 +00:00
lib spa: add AC3, EAC3, TrueHD, DTS, MPEG-H formats 2025-05-29 21:41:51 +02:00
plugins alsa: update resampler requested size before reading 2025-07-22 16:48:43 +02:00
tests pod: check that choices are not empty 2025-07-15 10:13:18 +02:00
tools spa-json-dump: fix compilation 2025-06-17 18:08:36 +02:00
meson.build meson: use libonnxruntime so that the .pc file can be found 2025-07-17 14:02:19 +02:00