mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-17 14:33:04 -04:00
adapter: use internalFormat for EnumFormat and Format
Always place the follower EnumFormat or Format as internalFormat on the EnumPortConfig and PortConfig respectively. This ways, internalFormat always refers to the follower formats and the format is the external format after (optional) conversion by the adapter. The idea was to keep some sort of compatibility with older versions but that doesn't really apply because the format was never used on EnumPortConfig and interalFormat didn't exist.
This commit is contained in:
parent
5cf5e335eb
commit
bdf5b5a2a7
2 changed files with 6 additions and 10 deletions
|
|
@ -32,9 +32,9 @@ enum spa_param_port_config {
|
|||
SPA_PARAM_PORT_CONFIG_mode, /**< (Id enum spa_param_port_config_mode) mode */
|
||||
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) possible/external format configuration */
|
||||
SPA_PARAM_PORT_CONFIG_format, /**< (Object) external format configuration */
|
||||
SPA_PARAM_PORT_CONFIG_group, /**< (String) the port group name */
|
||||
SPA_PARAM_PORT_CONFIG_internalFormat, /**< (Object) actual internal format */
|
||||
SPA_PARAM_PORT_CONFIG_internalFormat, /**< (Object) possible/actual internal format */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue