mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
core: Don't export pa_rtpoll_quit(), only used internally
see https://bugs.freedesktop.org/show_bug.cgi?id=89539 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
34d80f9a01
commit
07c7295b92
2 changed files with 3 additions and 11 deletions
|
|
@ -557,7 +557,9 @@ static int asyncmsgq_read_work(pa_rtpoll_item *i) {
|
||||||
|
|
||||||
if (!object && code == PA_MESSAGE_SHUTDOWN) {
|
if (!object && code == PA_MESSAGE_SHUTDOWN) {
|
||||||
pa_asyncmsgq_done(i->userdata, 0);
|
pa_asyncmsgq_done(i->userdata, 0);
|
||||||
pa_rtpoll_quit(i->rtpoll);
|
/* Requests the loop to exit. Will cause the next iteration of
|
||||||
|
* pa_rtpoll_run() to return 0 */
|
||||||
|
i->rtpoll->quit = true;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -625,12 +627,6 @@ pa_rtpoll_item *pa_rtpoll_item_new_asyncmsgq_write(pa_rtpoll *p, pa_rtpoll_prior
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
void pa_rtpoll_quit(pa_rtpoll *p) {
|
|
||||||
pa_assert(p);
|
|
||||||
|
|
||||||
p->quit = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool pa_rtpoll_timer_elapsed(pa_rtpoll *p) {
|
bool pa_rtpoll_timer_elapsed(pa_rtpoll *p) {
|
||||||
pa_assert(p);
|
pa_assert(p);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,8 +98,4 @@ pa_rtpoll_item *pa_rtpoll_item_new_fdsem(pa_rtpoll *p, pa_rtpoll_priority_t prio
|
||||||
pa_rtpoll_item *pa_rtpoll_item_new_asyncmsgq_read(pa_rtpoll *p, pa_rtpoll_priority_t prio, pa_asyncmsgq *q);
|
pa_rtpoll_item *pa_rtpoll_item_new_asyncmsgq_read(pa_rtpoll *p, pa_rtpoll_priority_t prio, pa_asyncmsgq *q);
|
||||||
pa_rtpoll_item *pa_rtpoll_item_new_asyncmsgq_write(pa_rtpoll *p, pa_rtpoll_priority_t prio, pa_asyncmsgq *q);
|
pa_rtpoll_item *pa_rtpoll_item_new_asyncmsgq_write(pa_rtpoll *p, pa_rtpoll_priority_t prio, pa_asyncmsgq *q);
|
||||||
|
|
||||||
/* Requests the loop to exit. Will cause the next iteration of
|
|
||||||
* pa_rtpoll_run() to return 0 */
|
|
||||||
void pa_rtpoll_quit(pa_rtpoll *p);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue