device_removed_cb(context, udi);
}
-
static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *message, void *userdata) {
struct userdata*u = userdata;
DBusError error;
}
} else if (!suspend)
- hal_device_add(u, udi);
+ device_added_cb(u->context, udi);
}
} else if (dbus_message_is_signal(message, "org.pulseaudio.Server", "DirtyGiveUpMessage")) {
} else
/* Yes, we don't check the UDI for validity, but hopefully HAL will */
- hal_device_add(u, udi);
+ device_added_cb(u->context, udi);
}
finish: