Skip to content
Snippets Groups Projects
Commit 03c15a81 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

spa-type: add format, param-port-config and param-profile tables

parent 058f8ae1
No related branches found
No related tags found
No related merge requests found
......@@ -84,12 +84,15 @@ struct spa_type_table_data {
};
static struct spa_type_table_data s_tables [WP_SPA_TYPE_TABLE_LAST] = {
[WP_SPA_TYPE_TABLE_BASIC] = {spa_types, SPA_TYPE_VENDOR_Other, NULL, NULL, NULL },
[WP_SPA_TYPE_TABLE_PARAM] = {spa_type_param, SPA_N_ELEMENTS (spa_type_param), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_PROPS] = {spa_type_props, SPA_PROP_START_CUSTOM, NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_PROP_INFO] = {spa_type_prop_info, SPA_N_ELEMENTS (spa_type_prop_info), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_CONTROL] = {spa_type_control, SPA_CONTROL_LAST, NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_CHOICE] = {spa_type_choice, SPA_N_ELEMENTS (spa_type_choice), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_BASIC] = {spa_types, SPA_TYPE_VENDOR_Other, NULL, NULL, NULL },
[WP_SPA_TYPE_TABLE_PARAM] = {spa_type_param, SPA_N_ELEMENTS (spa_type_param), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_PROPS] = {spa_type_props, SPA_PROP_START_CUSTOM, NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_PROP_INFO] = {spa_type_prop_info, SPA_N_ELEMENTS (spa_type_prop_info), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_FORMAT] = {spa_type_format, SPA_N_ELEMENTS (spa_type_format), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_PARAM_PORT_CONFIG] = {spa_type_param_port_config, SPA_N_ELEMENTS (spa_type_param_port_config), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_PARAM_PROFILE] = {spa_type_param_profile, SPA_N_ELEMENTS (spa_type_param_port_config), NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_CONTROL] = {spa_type_control, SPA_CONTROL_LAST, NULL, NULL, NULL, },
[WP_SPA_TYPE_TABLE_CHOICE] = {spa_type_choice, SPA_N_ELEMENTS (spa_type_choice), NULL, NULL, NULL, },
};
static WpSpaTypeTable
......
......@@ -16,14 +16,17 @@ G_BEGIN_DECLS
/**
* WpSpaTypeTable:
* @WP_SPA_TYPE_TABLE_BASIC: The basic type table
* @WP_SPA_TYPE_TABLE_PARAM: The param type table (used as object id)
* @WP_SPA_TYPE_TABLE_PROPS: The object properties type table
* @WP_SPA_TYPE_TABLE_PROP_INFO: The object property info type table
* @WP_SPA_TYPE_TABLE_CONTROL: The sequence control type table
* @WP_SPA_TYPE_TABLE_CHOICE: The choice type table
* @WP_SPA_TYPE_TABLE_FORMAT: The object format type table
* @WP_SPA_TYPE_TABLE_PARAM_PORT_CONFIG: The object param port config type table
* @WP_SPA_TYPE_TABLE_PARAM_PROFILE: The sequence control type table
*
* The diferent tables (namespaces) the registry has.
* WP_SPA_TYPE_TABLE_BASIC (0) - The basic type table
* WP_SPA_TYPE_TABLE_PARAM (1) – The param type table (used as object id)
* WP_SPA_TYPE_TABLE_PROPS (2) – The object properties type table
* WP_SPA_TYPE_TABLE_PROP_INFO (3) – The object property info type table
* WP_SPA_TYPE_TABLE_CONTROL (4) - The sequence control type table
* WP_SPA_TYPE_TABLE_CHOICE (5) - The choice type table
*/
typedef enum {
WP_SPA_TYPE_TABLE_BASIC = 0,
......@@ -32,6 +35,9 @@ typedef enum {
WP_SPA_TYPE_TABLE_PROP_INFO,
WP_SPA_TYPE_TABLE_CONTROL,
WP_SPA_TYPE_TABLE_CHOICE,
WP_SPA_TYPE_TABLE_FORMAT,
WP_SPA_TYPE_TABLE_PARAM_PORT_CONFIG,
WP_SPA_TYPE_TABLE_PARAM_PROFILE,
WP_SPA_TYPE_TABLE_LAST,
} WpSpaTypeTable;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment