}
}
-static int load_builtin_devices(pa_device_manager *dm) {
+static void load_builtin_devices(pa_device_manager *dm) {
device_type_info *type_info;
uint32_t type_idx;
device_detected_type_t detected_type = DEVICE_CONNECTED;
}
pa_log_debug("Load Builtin Devices Done");
-
- return 0;
}
/***************** Parse json file *******************/
device_type_status_init(dm);
- if (load_builtin_devices(dm) != 0) {
- pa_log_error("Load Builtin Devices failed");
- return NULL;
- }
+ load_builtin_devices(dm);
/* Just for convenience when test*/
if (!_device_manager_set_default_sink(dm, DEVICE_TYPE_SPEAKER, "normal")) {