mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
mainloop: properly convert time to wallclock time when handing it to the user
This commit is contained in:
parent
a37e48a819
commit
a43118b730
1 changed files with 1 additions and 1 deletions
|
|
@ -806,7 +806,7 @@ static int dispatch_timeout(pa_mainloop *m) {
|
||||||
/* Disable time event */
|
/* Disable time event */
|
||||||
mainloop_time_restart(e, NULL);
|
mainloop_time_restart(e, NULL);
|
||||||
|
|
||||||
e->callback(&m->api, e, pa_timeval_rtstore(&tv, e->time, TRUE), e->userdata);
|
e->callback(&m->api, e, pa_timeval_rtstore(&tv, e->time, FALSE), e->userdata);
|
||||||
|
|
||||||
r++;
|
r++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue