25#ifndef SPA_TYPE_INFO_H
26#define SPA_TYPE_INFO_H
40#define SPA_TYPE_ROOT spa_types
43static inline bool spa_type_is_a(
const char *type,
const char *parent)
45 return type != NULL && parent != NULL && strncmp(type, parent, strlen(parent)) == 0;
49#include <spa/utils/enum-types.h>
53#include <spa/param/type-info.h>
static const struct spa_type_info spa_type_device_event[]
Definition: monitor/type-info.h:61
static const struct spa_type_info spa_type_node_command[]
Definition: node/type-info.h:105
static const struct spa_type_info spa_type_node_event[]
Definition: node/type-info.h:80
static const struct spa_type_info spa_type_param_profile[]
Definition: profile-types.h:51
static const struct spa_type_info spa_type_prop_info[]
Definition: props-types.h:108
#define SPA_TYPE_INFO_PARAM_Meta
Definition: buffers-types.h:48
static const struct spa_type_info spa_type_param_io[]
Definition: buffers-types.h:67
static const struct spa_type_info spa_type_param_port_config[]
Definition: port-config-types.h:64
#define SPA_TYPE_INFO_PARAM_Profile
Definition: profile-types.h:47
static const struct spa_type_info spa_type_param_latency[]
Definition: latency-types.h:51
#define SPA_TYPE_INFO_PARAM_IO
Base for parameters that describe IO areas to exchange data, control and properties with a node.
Definition: buffers-types.h:63
static const struct spa_type_info spa_type_format[]
Definition: format-types.h:148
static const struct spa_type_info spa_type_param_meta[]
Definition: buffers-types.h:52
static const struct spa_type_info spa_type_props[]
Definition: props-types.h:52
static const struct spa_type_info spa_type_param_buffers[]
Definition: buffers-types.h:84
#define SPA_TYPE_INFO_PropInfo
Enum Property info.
Definition: props-types.h:104
#define SPA_TYPE_INFO_PARAM_Buffers
Definition: buffers-types.h:75
#define SPA_TYPE_INFO_PARAM_Latency
Definition: latency-types.h:47
#define SPA_TYPE_INFO_Format
Definition: format-types.h:49
#define SPA_TYPE_INFO_Profiler
Definition: profiler-types.h:46
static const struct spa_type_info spa_type_param_process_latency[]
Definition: latency-types.h:68
#define SPA_TYPE_INFO_PARAM_ProcessLatency
Definition: latency-types.h:64
#define SPA_TYPE_INFO_PARAM_Route
Definition: route-types.h:48
#define SPA_TYPE_INFO_Props
Props Param.
Definition: props-types.h:48
static const struct spa_type_info spa_type_profiler[]
Definition: profiler-types.h:50
static const struct spa_type_info spa_type_param_route[]
Definition: route-types.h:52
#define SPA_TYPE_INFO_PARAM_PortConfig
Definition: port-config-types.h:60
#define SPA_TYPE_INFO_EVENT_BASE
Definition: spa/include/spa/utils/type.h:155
#define SPA_TYPE_INFO_BASE
Definition: spa/include/spa/utils/type.h:115
static bool spa_type_is_a(const char *type, const char *parent)
Definition: utils/type-info.h:49
#define SPA_TYPE_INFO_POD_BASE
Definition: spa/include/spa/utils/type.h:130
#define SPA_TYPE_INFO_Struct
Definition: spa/include/spa/utils/type.h:133
#define SPA_TYPE_INFO_Event
Definition: spa/include/spa/utils/type.h:153
#define SPA_TYPE_INFO_Pointer
Definition: spa/include/spa/utils/type.h:143
#define SPA_TYPE_INFO_Pod
Definition: spa/include/spa/utils/type.h:128
#define SPA_TYPE_INFO_Command
Definition: spa/include/spa/utils/type.h:158
#define SPA_TYPE_INFO_POINTER_BASE
Definition: spa/include/spa/utils/type.h:145
#define SPA_TYPE_INFO_Object
Definition: spa/include/spa/utils/type.h:138
static const struct spa_type_info spa_types[]
Definition: utils/type-info.h:62
#define SPA_TYPE_INFO_COMMAND_BASE
Definition: spa/include/spa/utils/type.h:160
@ SPA_TYPE_POINTER_Buffer
Definition: spa/include/spa/utils/type.h:75
@ SPA_TYPE_OBJECT_ParamPortConfig
Definition: spa/include/spa/utils/type.h:101
@ SPA_TYPE_Int
Definition: spa/include/spa/utils/type.h:54
@ SPA_TYPE_OBJECT_ParamProfile
Definition: spa/include/spa/utils/type.h:100
@ SPA_TYPE_COMMAND_START
Definition: spa/include/spa/utils/type.h:87
@ SPA_TYPE_POINTER_START
Definition: spa/include/spa/utils/type.h:74
@ SPA_TYPE_Rectangle
Definition: spa/include/spa/utils/type.h:60
@ SPA_TYPE_Long
Definition: spa/include/spa/utils/type.h:55
@ SPA_TYPE_Bool
Definition: spa/include/spa/utils/type.h:52
@ SPA_TYPE_Bytes
Definition: spa/include/spa/utils/type.h:59
@ SPA_TYPE_EVENT_Device
Definition: spa/include/spa/utils/type.h:82
@ SPA_TYPE_Pod
Definition: spa/include/spa/utils/type.h:70
@ SPA_TYPE_OBJECT_PropInfo
Definition: spa/include/spa/utils/type.h:94
@ SPA_TYPE_OBJECT_START
Definition: spa/include/spa/utils/type.h:93
@ SPA_TYPE_Bitmap
Definition: spa/include/spa/utils/type.h:62
@ SPA_TYPE_Object
Definition: spa/include/spa/utils/type.h:65
@ SPA_TYPE_POINTER_Dict
Definition: spa/include/spa/utils/type.h:77
@ SPA_TYPE_Float
Definition: spa/include/spa/utils/type.h:56
@ SPA_TYPE_COMMAND_Device
Definition: spa/include/spa/utils/type.h:88
@ SPA_TYPE_OBJECT_ParamBuffers
Definition: spa/include/spa/utils/type.h:97
@ SPA_TYPE_Fraction
Definition: spa/include/spa/utils/type.h:61
@ SPA_TYPE_None
Definition: spa/include/spa/utils/type.h:51
@ SPA_TYPE_OBJECT_ParamIO
Definition: spa/include/spa/utils/type.h:99
@ SPA_TYPE_OBJECT_Props
Definition: spa/include/spa/utils/type.h:95
@ SPA_TYPE_Sequence
Definition: spa/include/spa/utils/type.h:66
@ SPA_TYPE_Double
Definition: spa/include/spa/utils/type.h:57
@ SPA_TYPE_OBJECT_Profiler
Definition: spa/include/spa/utils/type.h:103
@ SPA_TYPE_OBJECT_ParamLatency
Definition: spa/include/spa/utils/type.h:104
@ SPA_TYPE_Id
Definition: spa/include/spa/utils/type.h:53
@ SPA_TYPE_EVENT_START
Definition: spa/include/spa/utils/type.h:81
@ SPA_TYPE_Choice
Definition: spa/include/spa/utils/type.h:69
@ SPA_TYPE_EVENT_Node
Definition: spa/include/spa/utils/type.h:83
@ SPA_TYPE_Pointer
Definition: spa/include/spa/utils/type.h:67
@ SPA_TYPE_Array
Definition: spa/include/spa/utils/type.h:63
@ SPA_TYPE_String
Definition: spa/include/spa/utils/type.h:58
@ SPA_TYPE_POINTER_Meta
Definition: spa/include/spa/utils/type.h:76
@ SPA_TYPE_COMMAND_Node
Definition: spa/include/spa/utils/type.h:89
@ SPA_TYPE_OBJECT_ParamProcessLatency
Definition: spa/include/spa/utils/type.h:105
@ SPA_TYPE_Fd
Definition: spa/include/spa/utils/type.h:68
@ SPA_TYPE_OBJECT_ParamMeta
Definition: spa/include/spa/utils/type.h:98
@ SPA_TYPE_OBJECT_ParamRoute
Definition: spa/include/spa/utils/type.h:102
@ SPA_TYPE_Struct
Definition: spa/include/spa/utils/type.h:64
@ SPA_TYPE_OBJECT_Format
Definition: spa/include/spa/utils/type.h:96
@ SPA_TYPE_START
Definition: spa/include/spa/utils/type.h:50
Definition: spa/include/spa/utils/type.h:162