pulse: hide the pa_proplist implementation

Hide the proplist implementation.
Add some more methods to update the proplist
Make sure our integration functions only use exported symbols
so that they even work against the original pulse implementations
in case they are loaded first.

Fixes #236
This commit is contained in:
Wim Taymans 2020-05-08 14:16:25 +02:00
parent b53cc6feb8
commit 4e44da6c4b
4 changed files with 47 additions and 16 deletions

View file

@ -622,7 +622,7 @@ static pa_stream* stream_new(pa_context *c, const char *name,
props = pw_properties_new(PW_KEY_CLIENT_API, "pulseaudio",
NULL);
pw_properties_update(props, &s->proplist->props->dict);
pw_properties_update_proplist(props, s->proplist);
s->refcount = 1;
s->context = c;