mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-13 14:33:03 -04:00
spa: add port config group name
Make a portconfig group name. All ports from the same group have the same port.group property and can be configured with the corresponding PortConfig.
This commit is contained in:
parent
4eed79ee81
commit
cf72a5945b
3 changed files with 25 additions and 5 deletions
|
|
@ -39,6 +39,7 @@ static const struct spa_type_info spa_type_param_port_config[] = {
|
|||
{ SPA_PARAM_PORT_CONFIG_monitor, SPA_TYPE_Bool, SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE "monitor", NULL },
|
||||
{ SPA_PARAM_PORT_CONFIG_control, SPA_TYPE_Bool, SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE "control", NULL },
|
||||
{ SPA_PARAM_PORT_CONFIG_format, SPA_TYPE_OBJECT_Format, SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE "format", NULL },
|
||||
{ SPA_PARAM_PORT_CONFIG_group, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE "group", NULL },
|
||||
{ 0, 0, NULL, NULL },
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ enum spa_param_port_config {
|
|||
SPA_PARAM_PORT_CONFIG_monitor, /**< (Bool) enable monitor output ports on input ports */
|
||||
SPA_PARAM_PORT_CONFIG_control, /**< (Bool) enable control ports */
|
||||
SPA_PARAM_PORT_CONFIG_format, /**< (Object) format filter */
|
||||
SPA_PARAM_PORT_CONFIG_group, /**< (String) the port group name */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue