mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
improve properties on globals and ports
This commit is contained in:
parent
6756a3c8fc
commit
77e07e1948
4 changed files with 7 additions and 2 deletions
|
|
@ -242,8 +242,10 @@ static void node_port_init(void *data, struct pw_port *port)
|
|||
direction == PW_DIRECTION_INPUT ? "in" : "out",
|
||||
str);
|
||||
|
||||
pw_properties_set(new, PW_KEY_PORT_PHYSICAL, "1");
|
||||
pw_properties_set(new, PW_KEY_PORT_TERMINAL, "1");
|
||||
if (is_device) {
|
||||
pw_properties_set(new, PW_KEY_PORT_PHYSICAL, "1");
|
||||
pw_properties_set(new, PW_KEY_PORT_TERMINAL, "1");
|
||||
}
|
||||
}
|
||||
|
||||
pw_port_update_properties(port, &new->dict);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue