mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: use clock time as rttime when using our loop
This commit is contained in:
parent
520c2a0e16
commit
3255bc8eae
4 changed files with 46 additions and 7 deletions
|
|
@ -506,10 +506,12 @@ struct pa_operation
|
|||
void *state_userdata;
|
||||
};
|
||||
|
||||
bool pa_mainloop_api_is_pipewire(pa_mainloop_api *api);
|
||||
bool pa_mainloop_api_is_our_api(pa_mainloop_api *api);
|
||||
|
||||
#define PA_TIMEVAL_RTCLOCK ((time_t) (1LU << 30))
|
||||
struct timeval* pa_rtclock_from_wallclock(struct timeval *tv);
|
||||
struct timeval* pa_rtclock_to_wallclock(struct timeval *tv);
|
||||
struct timeval* pa_timeval_rtstore(struct timeval *tv, pa_usec_t v, bool rtclock);
|
||||
|
||||
pa_operation *pa_operation_new(pa_context *c, pa_stream *s, pa_operation_cb_t cb, size_t userdata_size);
|
||||
void pa_operation_done(pa_operation *o);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue