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