mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
param: add more fields to Profile param
Add description and priority to profile
This commit is contained in:
parent
e18a24493a
commit
e620412034
2 changed files with 4 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ enum spa_param_profile {
|
|||
SPA_PARAM_PROFILE_START,
|
||||
SPA_PARAM_PROFILE_index, /**< profile index (Int) */
|
||||
SPA_PARAM_PROFILE_name, /**< profile name (String) */
|
||||
SPA_PARAM_PROFILE_description, /**< profile description (String) */
|
||||
SPA_PARAM_PROFILE_priority, /**< profile priority (Int) */
|
||||
};
|
||||
|
||||
enum spa_param_port_config_mode {
|
||||
|
|
|
|||
|
|
@ -269,6 +269,8 @@ static const struct spa_type_info spa_type_param_profile[] = {
|
|||
{ SPA_PARAM_PROFILE_START, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_PROFILE_BASE, spa_type_param, },
|
||||
{ SPA_PARAM_PROFILE_index, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_PROFILE_BASE "index", NULL },
|
||||
{ SPA_PARAM_PROFILE_name, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PROFILE_BASE "name", NULL },
|
||||
{ SPA_PARAM_PROFILE_description, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PROFILE_BASE "description", NULL },
|
||||
{ SPA_PARAM_PROFILE_priority, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_PROFILE_BASE "priority", NULL },
|
||||
{ 0, 0, NULL, NULL },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue