mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
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. |
||
|---|---|---|
| .. | ||
| control.c | ||
| dummy.c | ||
| export.c | ||
| meson.build | ||
| metadata.c | ||
| net.c | ||
| pipewire-jack-extensions.h | ||
| pipewire-jack.c | ||
| pw-jack.in | ||
| ringbuffer.c | ||
| statistics.c | ||
| uuid.c | ||