operation: fix for async changes

This commit is contained in:
Wim Taymans 2019-02-20 17:50:22 +01:00
parent 61edd78bf4
commit 71e5c13191
3 changed files with 2 additions and 5 deletions

View file

@ -129,7 +129,7 @@ static int device_event_param(void *object,
pw_log_warn("device %d: can't parse profile", g->id);
return -EINVAL;
}
pw_array_add_ptr(&g->card_info.profiles, pw_spa_pod_copy(param));
pw_array_add_ptr(&g->card_info.profiles, spa_pod_copy(param));
pw_log_debug("device %d: enum profile %d: \"%s\"", g->id, id, name);
break;
}