mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Only update the resampler rate when we ask for more data, when we have more input data, use the previously configured rate to calculate how many samples we will consume. Fixes resync errors with multiple sources. One source would do rate matching, audioconvert would ask it to produce X samples, the source is scheduled to produce the samples, the rate match is updated with the new rate correction, audioconvert is scheduled again. It should now use the X samples it asked to produce and apply the new rate correction for the next iteration. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||