mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 06:38:01 +02:00
si-adapter/simple-node-endpoint: propagate node.autoconnect as endpoint.autoconnect
This commit is contained in:
parent
66f2e535cf
commit
d50e32fc47
2 changed files with 4 additions and 0 deletions
|
|
@ -408,6 +408,8 @@ si_adapter_get_properties (WpSiEndpoint * item)
|
|||
|
||||
wp_properties_set (result, "endpoint.description",
|
||||
wp_properties_get (node_props, PW_KEY_NODE_DESCRIPTION));
|
||||
wp_properties_set (result, PW_KEY_ENDPOINT_AUTOCONNECT,
|
||||
wp_properties_get (node_props, PW_KEY_NODE_AUTOCONNECT));
|
||||
|
||||
/* propagate the device icon, if this is a device */
|
||||
const gchar *icon = wp_properties_get (node_props, PW_KEY_DEVICE_ICON_NAME);
|
||||
|
|
|
|||
|
|
@ -273,6 +273,8 @@ si_simple_node_endpoint_get_properties (WpSiEndpoint * item)
|
|||
|
||||
wp_properties_set (result, "endpoint.description",
|
||||
wp_properties_get (node_props, PW_KEY_NODE_DESCRIPTION));
|
||||
wp_properties_set (result, PW_KEY_ENDPOINT_AUTOCONNECT,
|
||||
wp_properties_get (node_props, PW_KEY_NODE_AUTOCONNECT));
|
||||
|
||||
/* propagate the device icon, if this is a device */
|
||||
const gchar *icon = wp_properties_get (node_props, PW_KEY_DEVICE_ICON_NAME);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue