mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: find linked endpoints
Set the stream node object-id as the node.id on the endpoint so that the pulse api can find the linked endpoint.
This commit is contained in:
parent
709a52e286
commit
8c43ebaf3e
6 changed files with 35 additions and 40 deletions
|
|
@ -208,7 +208,7 @@ static void configure_device(pa_stream *s)
|
|||
s->device_index = g->id;
|
||||
}
|
||||
|
||||
if ((str = pw_properties_get(g->props, PW_KEY_NODE_NAME)) == NULL)
|
||||
if ((str = pw_properties_get(g->props, PW_KEY_ENDPOINT_NAME)) == NULL)
|
||||
s->device_name = strdup("unknown");
|
||||
else
|
||||
s->device_name = strdup(str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue