mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
reserve: fix build without D-Bus
This commit is contained in:
parent
00c392d72c
commit
1104141d78
1 changed files with 4 additions and 0 deletions
|
|
@ -336,5 +336,9 @@ pa_bool_t pa_reserve_monitor_wrapper_busy(pa_reserve_monitor_wrapper *w) {
|
|||
|
||||
pa_assert(PA_REFCNT_VALUE(w) >= 1);
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
return rm_busy(w->monitor) > 0;
|
||||
#else
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue