Home
last modified time | relevance | path

Searched refs:thread_mainloop (Results 1 – 4 of 4) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dthread-mq.c100 …hread_mainloop(pa_thread_mq *q, pa_mainloop_api *main_mainloop, pa_mainloop_api *thread_mainloop) { in pa_thread_mq_init_thread_mainloop() argument
103 pa_assert(thread_mainloop); in pa_thread_mq_init_thread_mainloop()
116 q->thread_mainloop = thread_mainloop; in pa_thread_mq_init_thread_mainloop()
121 …pa_assert_se(q->write_thread_event = thread_mainloop->io_new(thread_mainloop, pa_asyncmsgq_write_f… in pa_thread_mq_init_thread_mainloop()
125 …pa_assert_se(q->read_thread_event = thread_mainloop->io_new(thread_mainloop, pa_asyncmsgq_read_fd(… in pa_thread_mq_init_thread_mainloop()
143 q->thread_mainloop = NULL; in pa_thread_mq_init()
196 if (q->thread_mainloop) { in pa_thread_mq_done()
198 q->thread_mainloop->io_free(q->read_thread_event); in pa_thread_mq_done()
200 q->thread_mainloop->io_free(q->write_thread_event); in pa_thread_mq_done()
211 q->thread_mainloop = NULL; in pa_thread_mq_done()
Dthread-mq.h33 pa_mainloop_api *thread_mainloop; member
40 …thread_mainloop(pa_thread_mq *q, pa_mainloop_api *main_mainloop, pa_mainloop_api *thread_mainloop);
/third_party/pulseaudio/src/modules/
Dmodule-tunnel-sink-new.c74 pa_mainloop *thread_mainloop; member
179 if (pa_mainloop_iterate(u->thread_mainloop, 1, &ret) < 0) { in thread_func()
504 u->thread_mainloop = pa_mainloop_new(); in pa__init()
505 if (u->thread_mainloop == NULL) { in pa__init()
509 u->thread_mainloop_api = pa_mainloop_get_api(u->thread_mainloop); in pa__init()
614 if (u->thread_mainloop) in pa__done()
615 pa_mainloop_free(u->thread_mainloop); in pa__done()
Dmodule-tunnel-source-new.c72 pa_mainloop *thread_mainloop; member
228 if (pa_mainloop_iterate(u->thread_mainloop, 1, &ret) < 0) { in thread_func()
503 u->thread_mainloop = pa_mainloop_new(); in pa__init()
504 if (u->thread_mainloop == NULL) { in pa__init()
508 u->thread_mainloop_api = pa_mainloop_get_api(u->thread_mainloop); in pa__init()
608 if (u->thread_mainloop) in pa__done()
609 pa_mainloop_free(u->thread_mainloop); in pa__done()