mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
bluetooth: s/handled/not_yet_handled for signals
This commit is contained in:
parent
12ea5707b5
commit
2d903bae9a
2 changed files with 6 additions and 6 deletions
|
|
@ -604,7 +604,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
||||||
pa_bluetooth_device_free(d);
|
pa_bluetooth_device_free(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
return DBUS_HANDLER_RESULT_HANDLED;
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
|
|
||||||
} else if (dbus_message_is_signal(m, "org.bluez.Adapter", "DeviceCreated")) {
|
} else if (dbus_message_is_signal(m, "org.bluez.Adapter", "DeviceCreated")) {
|
||||||
const char *path;
|
const char *path;
|
||||||
|
|
@ -617,7 +617,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
||||||
pa_log_debug("Device %s created", path);
|
pa_log_debug("Device %s created", path);
|
||||||
|
|
||||||
found_device(y, path);
|
found_device(y, path);
|
||||||
return DBUS_HANDLER_RESULT_HANDLED;
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
|
|
||||||
} else if (dbus_message_is_signal(m, "org.bluez.Manager", "AdapterAdded")) {
|
} else if (dbus_message_is_signal(m, "org.bluez.Manager", "AdapterAdded")) {
|
||||||
const char *path;
|
const char *path;
|
||||||
|
|
@ -630,7 +630,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
||||||
pa_log_debug("Adapter %s created", path);
|
pa_log_debug("Adapter %s created", path);
|
||||||
|
|
||||||
found_adapter(y, path);
|
found_adapter(y, path);
|
||||||
return DBUS_HANDLER_RESULT_HANDLED;
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
|
|
||||||
} else if (dbus_message_is_signal(m, "org.bluez.Headset", "PropertyChanged") ||
|
} else if (dbus_message_is_signal(m, "org.bluez.Headset", "PropertyChanged") ||
|
||||||
dbus_message_is_signal(m, "org.bluez.AudioSink", "PropertyChanged") ||
|
dbus_message_is_signal(m, "org.bluez.AudioSink", "PropertyChanged") ||
|
||||||
|
|
@ -663,7 +663,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
||||||
run_callback(y, d, TRUE);
|
run_callback(y, d, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
return DBUS_HANDLER_RESULT_HANDLED;
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
|
||||||
|
|
@ -302,7 +302,7 @@ static DBusHandlerResult filter_func(DBusConnection *connection, DBusMessage *m,
|
||||||
|
|
||||||
bonding_new(u, a);
|
bonding_new(u, a);
|
||||||
|
|
||||||
return DBUS_HANDLER_RESULT_HANDLED;
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
|
|
||||||
} else if (dbus_message_is_signal(m, "org.bluez.Adapter", "BondingRemoved")) {
|
} else if (dbus_message_is_signal(m, "org.bluez.Adapter", "BondingRemoved")) {
|
||||||
|
|
||||||
|
|
@ -315,7 +315,7 @@ static DBusHandlerResult filter_func(DBusConnection *connection, DBusMessage *m,
|
||||||
|
|
||||||
bonding_remove(u, a);
|
bonding_remove(u, a);
|
||||||
|
|
||||||
return DBUS_HANDLER_RESULT_HANDLED;
|
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue