Commit graph

5 commits

Author SHA1 Message Date
Lennart Poettering
fdec460661 core-rtclock: introduce pa_timespec_store() akin pa_timeval_store() 2009-09-18 04:14:37 +02:00
Lennart Poettering
d965000982 rtclock: make use of constants when converting between nsec and usec 2009-06-23 03:55:32 +02:00
Marc-André Lureau
e4d914c945 rtclock: fix issues found by Lennart 2009-06-20 17:29:34 +03:00
Marc-André Lureau
0955e3d45b Base mainloop on pa_rtclock_now()
Move the mainloop to monotonic based time events.

Introduces 4 helper functions:
pa_{context,core}_rttime_{new,restart}(), that fill correctly a
timeval with the rtclock flag set if the mainloop supports it.

Both mainloop-test and mainloop-test-glib works with rt and timeval
based time events. PulseAudio and clients should be fully functional.

This patch has received several iterations, and this one as been
largely untested.

Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
2009-06-20 17:29:31 +03:00
Marc-André Lureau
125c528896 pulse: move pa_rtclock_now in pulsecommon 2009-06-20 17:29:08 +03:00
Renamed from src/pulsecore/rtclock.c (Browse further)