mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
context: add properties
This commit is contained in:
parent
2d4ecaf85d
commit
e0970386f0
1 changed files with 2 additions and 0 deletions
|
|
@ -384,6 +384,8 @@ pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *
|
|||
if (name)
|
||||
pw_properties_set(props, PA_PROP_APPLICATION_NAME, name);
|
||||
pw_properties_set(props, "client.api", "pulseaudio");
|
||||
if (p)
|
||||
pw_properties_update(props, &p->props->dict);
|
||||
|
||||
loop = mainloop->userdata;
|
||||
core = pw_core_new(loop, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue