mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-15 05:34:03 -04: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)
|
if (name)
|
||||||
pw_properties_set(props, PA_PROP_APPLICATION_NAME, name);
|
pw_properties_set(props, PA_PROP_APPLICATION_NAME, name);
|
||||||
pw_properties_set(props, "client.api", "pulseaudio");
|
pw_properties_set(props, "client.api", "pulseaudio");
|
||||||
|
if (p)
|
||||||
|
pw_properties_update(props, &p->props->dict);
|
||||||
|
|
||||||
loop = mainloop->userdata;
|
loop = mainloop->userdata;
|
||||||
core = pw_core_new(loop, NULL);
|
core = pw_core_new(loop, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue