pipewire/spa
Wim Taymans 1733cc7fea support: fix freewheel timeout in node-driver
When freewheeling we will immediately schedule a new graph cycle when we
get a process call because the graph completed.

When the process call is not done, because of some xrun or
because some node was removed that causes the graph to fail completion,
The next cycle will happen after a timeout.

This timeout was calculated as the ideal wakeup time (after a quantum of
time) and would accumulate for each timeout. The result is that the
timeout ended up far in the future and would stall the freewheel driver
for a long time.

Fix this by always setting the next timeout to wakeup time + freewheel.timeout
seconds. Also add a config property for the timeout (10 seconds, like
jack2 by default).
2024-01-10 13:25:41 +01:00
..
examples meson.build: fix compile with -Dexamples=disabled 2023-12-04 11:16:11 +01:00
include spa: remove some references to unimplemented items 2024-01-09 09:20:16 +01:00
plugins support: fix freewheel timeout in node-driver 2024-01-10 13:25:41 +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 meson.build: fix compile with -Dexamples=disabled 2023-12-04 11:16:11 +01:00