Skip to content
  • Marc-André Lureau's avatar
    Base mainloop on pa_rtclock_now() · 0955e3d4
    Marc-André Lureau authored and Marc-André Lureau's avatar Marc-André Lureau committed
    
    
    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: default avatarMarc-André Lureau <marca-andre.lureau@nokia.com>
    0955e3d4