param: add Control param

A control param contains a set of timed events that are applied
in the next cycle.
This commit is contained in:
Wim Taymans 2020-02-05 10:01:14 +01:00
parent 1404cb4182
commit 5ff970a62e
2 changed files with 4 additions and 0 deletions

View file

@ -47,6 +47,7 @@ enum spa_param_type {
SPA_PARAM_PortConfig, /**< port configuration as SPA_TYPE_OBJECT_ParamPortConfig */
SPA_PARAM_EnumRoute, /**< routing enumeration as SPA_TYPE_OBJECT_ParamRoute */
SPA_PARAM_Route, /**< routing configuration as SPA_TYPE_OBJECT_ParamRoute */
SPA_PARAM_Control, /**< Control parameter, a SPA_TYPE_Sequence */
};
/** information about a parameter */

View file

@ -51,6 +51,9 @@ static const struct spa_type_info spa_type_param[] = {
{ SPA_PARAM_Profile, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Profile", NULL },
{ SPA_PARAM_EnumPortConfig, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "EnumPortConfig", NULL },
{ SPA_PARAM_PortConfig, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "PortConfig", NULL },
{ SPA_PARAM_EnumRoute, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "EnumRoute", NULL },
{ SPA_PARAM_Route, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Route", NULL },
{ SPA_PARAM_Control, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_ID_BASE "Control", NULL },
{ 0, 0, NULL, NULL },
};