introspect: improve introspection

Update introspection structures when we get the info from pipewire.
This commit is contained in:
Wim Taymans 2018-11-29 17:30:24 +01:00
parent d02a8375c3
commit 2864e7ec75
4 changed files with 311 additions and 63 deletions

View file

@ -54,6 +54,12 @@ pa_proplist* pa_proplist_new(void)
return pa_proplist_new_dict(NULL);
}
int pa_proplist_update_dict(pa_proplist *p, struct spa_dict *dict)
{
return pw_properties_update(p->props, dict);
}
void pa_proplist_free(pa_proplist* p)
{
pw_properties_free(p->props);