mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
clarify PIPEWIRE_NODE
PIPEWIRE_NODE is mapped to TARGET_OBJECT so it contains the serial or the node name. Make sure pw-stream maps this to TARGET_OBJECT. Make JACK use the PIPEWIRE_NODE for serial or node.name.
This commit is contained in:
parent
2254c74fb9
commit
95f87301c7
3 changed files with 11 additions and 10 deletions
|
|
@ -1892,7 +1892,7 @@ pw_stream_connect(struct pw_stream *stream,
|
|||
if (target_id != PW_ID_ANY)
|
||||
pw_properties_setf(stream->properties, PW_KEY_NODE_TARGET, "%d", target_id);
|
||||
else if ((str = getenv("PIPEWIRE_NODE")) != NULL)
|
||||
pw_properties_set(stream->properties, PW_KEY_NODE_TARGET, str);
|
||||
pw_properties_set(stream->properties, PW_KEY_TARGET_OBJECT, str);
|
||||
if ((flags & PW_STREAM_FLAG_AUTOCONNECT) &&
|
||||
pw_properties_get(stream->properties, PW_KEY_NODE_AUTOCONNECT) == NULL) {
|
||||
str = getenv("PIPEWIRE_AUTOCONNECT");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue