mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
asyncmsgq: introduce pa_asyncmsgq_dispatching()
This commit is contained in:
parent
e5b08a81d2
commit
0c20e740f6
2 changed files with 8 additions and 0 deletions
|
|
@ -351,3 +351,9 @@ void pa_asyncmsgq_flush(pa_asyncmsgq *a, pa_bool_t run) {
|
|||
pa_asyncmsgq_unref(a);
|
||||
}
|
||||
}
|
||||
|
||||
pa_bool_t pa_asyncmsgq_dispatching(pa_asyncmsgq *a) {
|
||||
pa_assert(PA_REFCNT_VALUE(a) > 0);
|
||||
|
||||
return !!a->current;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue