mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
spa: give meaning to port_enum_params with SPA_ID_INVALID port_id
This is to iterate params that are common to all ports, such as EnumFormat or the supported IO areas. Mostly interesting for mixer and splitter nodes so that we don't have to create a new port just to query things.
This commit is contained in:
parent
bf273690fd
commit
77ed5ccb31
5 changed files with 32 additions and 22 deletions
|
|
@ -827,7 +827,8 @@ static int setup_mixer(struct pw_impl_port *port, const struct spa_pod *param)
|
|||
return res;
|
||||
}
|
||||
|
||||
pw_log_debug("mix node handle:%p iface:%p", handle, iface);
|
||||
pw_log_debug("mix node %s (%s) handle:%p iface:%p", factory_name, fallback_lib,
|
||||
handle, iface);
|
||||
pw_impl_port_set_mix(port, (struct spa_node*)iface,
|
||||
PW_IMPL_PORT_MIX_FLAG_MULTI |
|
||||
PW_IMPL_PORT_MIX_FLAG_NEGOTIATE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue