pipewire/spa/plugins/support
Pauli Virtanen 7d0ca2d103 spa: node-driver: always put CLOCK_MONOTONIC values to clock->nsec
When timer is not using monotonic clock, apply clock offset to translate
the time values to the monotonic clock when putting them to spa_io_clock
nsec fields.

Get appropriate clock offset by smoothed filtering.  The parameters here
keep the offset jitter < 10ns or so.

As monotonic/boottime/realtime all contain adjtime(), there generally is
no drift in the offset here, so just averaging should be fine.

Also fix using wrong timer clock when freewheeling.
2024-03-07 20:04:54 +02:00
..
cpu-arm.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
cpu-x86.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
cpu.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
dbus.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
evl-plugin.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
evl-system.c evl: add fds to pollfd from rt thread 2023-11-24 11:58:28 +01:00
journal.c journal: copy log level to chained logger 2024-01-04 13:57:26 +01:00
logger.c logger: minor performance improvement to avoid syscall done by isatty 2024-02-17 11:42:12 +00:00
loop.c loop: fix clang compilation 2024-02-05 23:16:36 +01:00
meson.build spa: support: remove log pattern support 2024-01-04 10:02:55 +00:00
node-driver.c spa: node-driver: always put CLOCK_MONOTONIC values to clock->nsec 2024-03-07 20:04:54 +02:00
null-audio-sink.c node-driver, null-audio-sink: Fix EAGAIN check 2023-09-04 13:24:30 +02:00
plugin.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
system.c pipewire-alsa: Propagate errors from eventfd(). 2024-02-19 14:16:26 +00:00