mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
adapter: remove factory.mode property
We can deduce this from the way the node is configured with the PortParam now.
This commit is contained in:
parent
9b4b34b78b
commit
86af9de739
2 changed files with 6 additions and 15 deletions
|
|
@ -176,14 +176,6 @@ struct pw_impl_node *pw_adapter_new(struct pw_context *context,
|
|||
if ((str = pw_properties_get(props, PW_KEY_NODE_ID)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_NODE_SESSION, str);
|
||||
|
||||
if (pw_properties_get(props, "factory.mode") == NULL) {
|
||||
if (direction == PW_DIRECTION_INPUT)
|
||||
str = "merge";
|
||||
else
|
||||
str = "split";
|
||||
pw_properties_set(props, "factory.mode", str);
|
||||
}
|
||||
|
||||
if ((res = find_format(follower, direction, &media_type, &media_subtype)) < 0)
|
||||
goto error;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue