pipewire/spa
Wim Taymans 758805d65d alsa: fix rate matching in the sequencer
The alsa sequencer rate matching was not actually working correctly.
It would compare the previous queue time with the current time and
compare that to the quantum. This would include uncorrected errors from
jitter and would result in the timeouts being scaled in the wrong
direction forever.

Instead, calculate an ideal queue time and compare our current queue
time against that. We then use the correction to scale the timeout or
the next queue time prediction.

Also use the predicted time as the base time for the event timestamps.
this results in less jitter.

Fixes #3657
2023-12-05 15:12:27 +01:00
..
examples meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00
include Fix some warnings 2023-11-21 16:32:51 +00:00
plugins alsa: fix rate matching in the sequencer 2023-12-05 15:12:27 +01:00
tests Add GNU/Hurd support 2023-09-24 15:11:52 +00:00
tools treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build spa/meson.build: Look for udev rules in /usr by default 2023-12-02 10:08:12 +01:00