mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
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:
parent
b53cc6feb8
commit
4e44da6c4b
4 changed files with 47 additions and 16 deletions
|
|
@ -168,13 +168,11 @@ do { \
|
|||
#define PA_FAIL_RETURN_NULL(context, error) \
|
||||
PA_FAIL_RETURN_ANY(context, error, NULL)
|
||||
|
||||
struct pa_proplist {
|
||||
struct pw_properties *props;
|
||||
};
|
||||
|
||||
pa_proplist* pa_proplist_new_props(struct pw_properties *props);
|
||||
pa_proplist* pa_proplist_new_dict(struct spa_dict *dict);
|
||||
int pa_proplist_update_dict(pa_proplist *p, struct spa_dict *dict);
|
||||
int pw_properties_update_proplist(struct pw_properties *props, const pa_proplist *p);
|
||||
|
||||
struct pa_io_event {
|
||||
struct spa_source *source;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue