support: add support for other clocks

Add support for using other clocks.
clock.id can be used to set one of the system clocks.
clock.device can be used to open a clock device such as a PTP clock
device.
Use a dll to track the progress of non-monotonic clocks.
This commit is contained in:
Wim Taymans 2023-02-01 15:54:54 +01:00
parent 2681d7e3ec
commit e3b358ac8b
3 changed files with 188 additions and 37 deletions

View file

@ -18,7 +18,7 @@ endif
spa_support_lib = shared_library('spa-support',
spa_support_sources,
c_args : [ simd_cargs ],
dependencies : [ spa_dep, pthread_lib, epoll_shim_dep ],
dependencies : [ spa_dep, pthread_lib, epoll_shim_dep, mathlib ],
install : true,
install_dir : spa_plugindir / 'support')
spa_support_dep = declare_dependency(link_with: spa_support_lib)