[pulseaudio-discuss] [RFC v0 02/15] bluetooth: Detect BlueZ 5
Tanu Kaskinen
tanuk at iki.fi
Sun Dec 30 02:36:38 PST 2012
On Wed, 2012-12-19 at 13:58 +0100, Mikel Astiz wrote:
> +static void get_managed_objects_reply(DBusPendingCall *pending, void *userdata) {
> + DBusMessage *r;
> + pa_dbus_pending *p;
> + pa_bluetooth_discovery *y;
> +
> + pa_assert_se(p = userdata);
> + pa_assert_se(y = p->context_data);
> + pa_assert_se(r = dbus_pending_call_steal_reply(pending));
> +
> + if (dbus_message_is_error(r, DBUS_ERROR_UNKNOWN_METHOD)) {
> + pa_log_warn("D-Bus ObjectManager not detected so falling back to BlueZ version 4 API.");
This is not worth a warning, because it's still normal to not have bluez
5 running. "Info" level is enough.
--
Tanu
More information about the pulseaudio-discuss
mailing list