mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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. |
||
|---|---|---|
| .. | ||
| examples | ||
| jack | ||
| src | ||
| meson.build | ||