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-source-new.c93 pa_mainloop *thread_mainloop; member
264 if (pa_mainloop_iterate(u->thread_mainloop, 1, &ret) < 0) { in thread_func()
652 u->thread_mainloop = pa_mainloop_new(); in do_init()
653 if (u->thread_mainloop == NULL) { in do_init()
657 u->thread_mainloop_api = pa_mainloop_get_api(u->thread_mainloop); in do_init()
752 if (u->thread_mainloop) in do_done()
753 pa_mainloop_free(u->thread_mainloop); in do_done()
Dmodule-tunnel-sink-new.c95 pa_mainloop *thread_mainloop; member
216 if (pa_mainloop_iterate(u->thread_mainloop, 1, &ret) < 0) { in thread_func()
680 u->thread_mainloop = pa_mainloop_new(); in do_init()
681 if (u->thread_mainloop == NULL) { in do_init()
685 u->thread_mainloop_api = pa_mainloop_get_api(u->thread_mainloop); in do_init()
783 if (u->thread_mainloop) in do_done()
784 pa_mainloop_free(u->thread_mainloop); in do_done()