mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-07 04:06:12 -05:00
Resampler without prefill was sometime outputting with different delay than with prefill. Adjust initial history by 1 which seems to bring it more in line. The resampler phase also appears to depend on how many samples remain in history which leads to possibly unexpected +-1 variation. Take this into account in reported phase. These changes make the resampler delay tests pass. Both changes are sort of empirical --- I don't fully understand why these would fix things but they seem to be needed to make the delay calculations agree with what the resampler outputs. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||