static void media_server_remove(struct btd_adapter *adapter) { struct audio_adapter *adp; const gchar *path = adapter_get_path(adapter); DBG("path %s", path); adp = find_adapter(adapters, adapter); if (!adp) return; media_unregister(path); audio_adapter_unref(adp); }
static void media_server_remove(struct btd_adapter *adapter) { DBG("path %s", adapter_get_path(adapter)); media_unregister(adapter); }