25 #ifndef SPA_TYPE_INFO_H
26 #define SPA_TYPE_INFO_H
40 #define SPA_TYPE_ROOT spa_types
43 static inline bool spa_type_is_a(
const char *type,
const char *parent)
45 return type != NULL && parent != NULL && strncmp(type, parent, strlen(parent)) == 0;
51 #define SPA_TYPE_INFO_Direction SPA_TYPE_INFO_ENUM_BASE "Direction"
52 #define SPA_TYPE_INFO_DIRECTION_BASE SPA_TYPE_INFO_Direction ":"
66 #define SPA_TYPE_INFO_Choice SPA_TYPE_INFO_ENUM_BASE "Choice"
67 #define SPA_TYPE_INFO_CHOICE_BASE SPA_TYPE_INFO_Choice ":"
static const struct spa_type_info spa_type_device_event[]
Definition: type-info.h:61
static const struct spa_type_info spa_type_node_command[]
Definition: type-info.h:105
static const struct spa_type_info spa_type_node_event[]
Definition: type-info.h:80
static const struct spa_type_info spa_type_param_profile[]
Definition: type-info.h:381
static const struct spa_type_info spa_type_prop_info[]
Definition: type-info.h:172
#define SPA_TYPE_INFO_PARAM_Meta
Definition: type-info.h:185
static const struct spa_type_info spa_type_param_io[]
Definition: type-info.h:204
static const struct spa_type_info spa_type_param_port_config[]
Definition: type-info.h:412
#define SPA_TYPE_INFO_PARAM_Profile
Definition: type-info.h:377
static const struct spa_type_info spa_type_param_latency[]
Definition: type-info.h:467
#define SPA_TYPE_INFO_PARAM_IO
Base for parameters that describe IO areas to exchange data, control and properties with a node.
Definition: type-info.h:200
static const struct spa_type_info spa_type_format[]
Definition: type-info.h:295
static const struct spa_type_info spa_type_param_meta[]
Definition: type-info.h:189
static const struct spa_type_info spa_type_props[]
Definition: type-info.h:116
static const struct spa_type_info spa_type_param_buffers[]
Definition: type-info.h:353
#define SPA_TYPE_INFO_PropInfo
Enum Property info.
Definition: type-info.h:168
#define SPA_TYPE_INFO_PARAM_Buffers
Definition: type-info.h:344
#define SPA_TYPE_INFO_PARAM_Latency
Definition: type-info.h:463
#define SPA_TYPE_INFO_Format
Definition: type-info.h:212
#define SPA_TYPE_INFO_Profiler
Definition: type-info.h:449
static const struct spa_type_info spa_type_param_process_latency[]
Definition: type-info.h:484
#define SPA_TYPE_INFO_PARAM_ProcessLatency
Definition: type-info.h:480
#define SPA_TYPE_INFO_PARAM_Route
Definition: type-info.h:424
#define SPA_TYPE_INFO_Props
Definition: type-info.h:81
static const struct spa_type_info spa_type_profiler[]
Definition: type-info.h:453
static const struct spa_type_info spa_type_param_route[]
Definition: type-info.h:428
#define SPA_TYPE_INFO_PARAM_PortConfig
Definition: type-info.h:408
@ SPA_CHOICE_Step
range with step: default, min, max, step
Definition: pod.h:169
@ SPA_CHOICE_None
no choice, first value is current
Definition: pod.h:167
@ SPA_CHOICE_Flags
flags: default, possible flags,...
Definition: pod.h:171
@ SPA_CHOICE_Range
range: default, min, max
Definition: pod.h:168
@ SPA_CHOICE_Enum
list: default, alternative,...
Definition: pod.h:170
#define SPA_TYPE_INFO_EVENT_BASE
Definition: type.h:155
#define SPA_TYPE_INFO_BASE
Definition: type.h:115
#define SPA_TYPE_INFO_CHOICE_BASE
Definition: type-info.h:77
static bool spa_type_is_a(const char *type, const char *parent)
Definition: type-info.h:49
static const struct spa_type_info spa_type_choice[]
Definition: type-info.h:79
#define SPA_TYPE_INFO_POD_BASE
Definition: type.h:130
#define SPA_TYPE_INFO_Struct
Definition: type.h:133
#define SPA_TYPE_INFO_Event
Definition: type.h:153
#define SPA_TYPE_INFO_Pointer
Definition: type.h:143
#define SPA_TYPE_INFO_Pod
Definition: type.h:128
#define SPA_TYPE_INFO_Command
Definition: type.h:158
#define SPA_TYPE_INFO_DIRECTION_BASE
Definition: type-info.h:60
#define SPA_TYPE_INFO_POINTER_BASE
Definition: type.h:145
#define SPA_TYPE_INFO_Object
Definition: type.h:138
static const struct spa_type_info spa_types[]
Definition: type-info.h:88
#define SPA_TYPE_INFO_COMMAND_BASE
Definition: type.h:160
static const struct spa_type_info spa_type_direction[]
Definition: type-info.h:62
@ SPA_TYPE_POINTER_Buffer
Definition: type.h:75
@ SPA_TYPE_OBJECT_ParamPortConfig
Definition: type.h:101
@ SPA_TYPE_Int
Definition: type.h:54
@ SPA_TYPE_OBJECT_ParamProfile
Definition: type.h:100
@ SPA_TYPE_COMMAND_START
Definition: type.h:87
@ SPA_TYPE_POINTER_START
Definition: type.h:74
@ SPA_TYPE_Rectangle
Definition: type.h:60
@ SPA_TYPE_Long
Definition: type.h:55
@ SPA_TYPE_Bool
Definition: type.h:52
@ SPA_TYPE_Bytes
Definition: type.h:59
@ SPA_TYPE_EVENT_Device
Definition: type.h:82
@ SPA_TYPE_Pod
Definition: type.h:70
@ SPA_TYPE_OBJECT_PropInfo
Definition: type.h:94
@ SPA_TYPE_OBJECT_START
Definition: type.h:93
@ SPA_TYPE_Bitmap
Definition: type.h:62
@ SPA_TYPE_Object
Definition: type.h:65
@ SPA_TYPE_POINTER_Dict
Definition: type.h:77
@ SPA_TYPE_Float
Definition: type.h:56
@ SPA_TYPE_COMMAND_Device
Definition: type.h:88
@ SPA_TYPE_OBJECT_ParamBuffers
Definition: type.h:97
@ SPA_TYPE_Fraction
Definition: type.h:61
@ SPA_TYPE_None
Definition: type.h:51
@ SPA_TYPE_OBJECT_ParamIO
Definition: type.h:99
@ SPA_TYPE_OBJECT_Props
Definition: type.h:95
@ SPA_TYPE_Sequence
Definition: type.h:66
@ SPA_TYPE_Double
Definition: type.h:57
@ SPA_TYPE_OBJECT_Profiler
Definition: type.h:103
@ SPA_TYPE_OBJECT_ParamLatency
Definition: type.h:104
@ SPA_TYPE_Id
Definition: type.h:53
@ SPA_TYPE_EVENT_START
Definition: type.h:81
@ SPA_TYPE_Choice
Definition: type.h:69
@ SPA_TYPE_EVENT_Node
Definition: type.h:83
@ SPA_TYPE_Pointer
Definition: type.h:67
@ SPA_TYPE_Array
Definition: type.h:63
@ SPA_TYPE_String
Definition: type.h:58
@ SPA_TYPE_POINTER_Meta
Definition: type.h:76
@ SPA_TYPE_COMMAND_Node
Definition: type.h:89
@ SPA_TYPE_OBJECT_ParamProcessLatency
Definition: type.h:105
@ SPA_TYPE_Fd
Definition: type.h:68
@ SPA_TYPE_OBJECT_ParamMeta
Definition: type.h:98
@ SPA_TYPE_OBJECT_ParamRoute
Definition: type.h:102
@ SPA_TYPE_Struct
Definition: type.h:64
@ SPA_TYPE_OBJECT_Format
Definition: type.h:96
@ SPA_TYPE_START
Definition: type.h:50
@ SPA_DIRECTION_INPUT
Definition: defs.h:109
@ SPA_DIRECTION_OUTPUT
Definition: defs.h:110