mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
spa: add profile param
Make a profile param that can be used to configure a node with a certain profile. Use the profile to configure the ports on splitter and merger and get rid of the dynamic ports. Use the profile to configure the client-node and audio-dsp. Don't try to link more ports than available between client-node and dsp.
This commit is contained in:
parent
6de03418ca
commit
e1ec1bad23
12 changed files with 549 additions and 454 deletions
|
|
@ -37,6 +37,7 @@ enum spa_param_type {
|
|||
SPA_PARAM_Buffers, /**< buffer configurations */
|
||||
SPA_PARAM_Meta, /**< allowed metadata for buffers */
|
||||
SPA_PARAM_IO, /**< configurable IO areas */
|
||||
SPA_PARAM_Profile, /**< port profile configuration */
|
||||
};
|
||||
|
||||
/** Properties for SPA_TYPE_OBJECT_ParamList */
|
||||
|
|
@ -69,6 +70,13 @@ enum spa_param_io {
|
|||
SPA_PARAM_IO_size, /**< size of the io area */
|
||||
};
|
||||
|
||||
/** properties for SPA_TYPE_OBJECT_ParamProfile */
|
||||
enum spa_param_profile {
|
||||
SPA_PARAM_PROFILE_START, /**< object id, one of enum spa_param_type */
|
||||
SPA_PARAM_PROFILE_direction, /**< direction, input/output */
|
||||
SPA_PARAM_PROFILE_format, /**< profile format specification */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue