mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
be a bit more verbose about the busses we are connected to
This commit is contained in:
parent
90f4fdb071
commit
4b521e5d24
1 changed files with 7 additions and 0 deletions
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "dbus-util.h"
|
||||
|
|
@ -263,6 +265,11 @@ pa_dbus_wrap_connection* pa_dbus_wrap_connection_new(pa_mainloop_api *m, DBusBus
|
|||
|
||||
pconn->dispatch_event = pconn->mainloop->defer_new(pconn->mainloop, dispatch_cb, conn);
|
||||
|
||||
pa_log_debug("Successfully connected to D-Bus %s bus %s as %s",
|
||||
type == DBUS_BUS_SYSTEM ? "system" : (type == DBUS_BUS_SESSION ? "session" : "starter"),
|
||||
pa_strnull(dbus_connection_get_server_id(conn)),
|
||||
pa_strnull(dbus_bus_get_unique_name(conn)));
|
||||
|
||||
return pconn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue