pipewire/pipewire-jack/src
Wim Taymans 2a29581b2a jack: improve current_usec calculation
We should not use nsec from the clock as the current_usec because
current_usec is supposed to be an idealized time when the wakeup would
have happened and nsec is when it actually happened.

Instead use next_nsec and subtract the rate corrected period from it to
get the idealized current_usec.

We can still use nsec to calculate the elapsed time since the wakeup and
be sure that it is always in the past.
2023-12-14 13:09:10 +01:00
..
control.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
dummy.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
export.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build pipewire-jack: Disable LD_LIBRARY_PATH when libjack is in libdir 2023-09-15 08:49:36 +00:00
metadata.c jack: sync after setting metadata 2023-09-19 12:44:59 +02:00
net.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pipewire-jack-extensions.h jack: add jack_set_sample_rate() extension 2023-10-24 11:08:49 +02:00
pipewire-jack.c jack: improve current_usec calculation 2023-12-14 13:09:10 +01:00
pw-jack.in pipewire-jack: Disable LD_LIBRARY_PATH when libjack is in libdir 2023-09-15 08:49:36 +00:00
ringbuffer.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
statistics.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
uuid.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00