mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
core: move rtpoll to thread_info sub structure
This commit is contained in:
parent
58d441f7ea
commit
4eb59fb90e
6 changed files with 16 additions and 16 deletions
|
|
@ -455,12 +455,12 @@ static void sink_input_attach_cb(pa_sink_input *i) {
|
|||
pa_assert(!o->inq_rtpoll_item_read && !o->outq_rtpoll_item_write);
|
||||
|
||||
o->inq_rtpoll_item_read = pa_rtpoll_item_new_asyncmsgq_read(
|
||||
i->sink->rtpoll,
|
||||
i->sink->thread_info.rtpoll,
|
||||
PA_RTPOLL_LATE, /* This one is not that important, since we check for data in _peek() anyway. */
|
||||
o->inq);
|
||||
|
||||
o->outq_rtpoll_item_write = pa_rtpoll_item_new_asyncmsgq_write(
|
||||
i->sink->rtpoll,
|
||||
i->sink->thread_info.rtpoll,
|
||||
PA_RTPOLL_EARLY,
|
||||
o->outq);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ static void sink_input_attach(pa_sink_input *i) {
|
|||
pa_assert_se(s = i->userdata);
|
||||
|
||||
pa_assert(!s->rtpoll_item);
|
||||
s->rtpoll_item = pa_rtpoll_item_new(i->sink->rtpoll, PA_RTPOLL_LATE, 1);
|
||||
s->rtpoll_item = pa_rtpoll_item_new(i->sink->thread_info.rtpoll, PA_RTPOLL_LATE, 1);
|
||||
|
||||
p = pa_rtpoll_item_get_pollfd(s->rtpoll_item, NULL);
|
||||
p->fd = s->rtp_context.fd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue