mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
rtclock: enable rtclock for our own mainloop implementations
This commit is contained in:
parent
3ee29004a9
commit
f753ef2a23
3 changed files with 14 additions and 4 deletions
|
|
@ -160,6 +160,7 @@ pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *
|
|||
c->playback_streams = pa_dynarray_new();
|
||||
c->record_streams = pa_dynarray_new();
|
||||
c->client_index = PA_INVALID_INDEX;
|
||||
c->use_rtclock = pa_mainloop_is_our_api(mainloop);
|
||||
|
||||
PA_LLIST_HEAD_INIT(pa_stream, c->streams);
|
||||
PA_LLIST_HEAD_INIT(pa_operation, c->operations);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue