5 #ifndef SPA_TYPE_INFO_H
6 #define SPA_TYPE_INFO_H
12 #include <spa/utils/defs.h>
20 #define SPA_TYPE_ROOT spa_types
25 return type != NULL && parent != NULL && strncmp(type, parent, strlen(parent)) == 0;
28 #include <spa/utils/type.h>
29 #include <spa/utils/enum-types.h>
31 #include <spa/monitor/type-info.h>
32 #include <spa/node/type-info.h>
33 #include <spa/param/type-info.h>
34 #include <spa/control/type-info.h>
#define SPA_TYPE_INFO_Event
Definition: type.h:134
uint32_t type
Definition: type.h:144
#define SPA_TYPE_INFO_PARAM_Route
Definition: route-types.h:28
static const struct spa_type_info spa_type_param_route[]
Definition: route-types.h:32
#define SPA_TYPE_INFO_PARAM_Meta
Definition: buffers-types.h:28
#define SPA_TYPE_INFO_COMMAND_BASE
Definition: type.h:141
#define SPA_TYPE_INFO_POINTER_BASE
Definition: type.h:126
#define SPA_TYPE_INFO_BASE
Definition: type.h:96
static const struct spa_type_info spa_type_device_event[]
Definition: type-info.h:41
#define SPA_TYPE_INFO_Pointer
Definition: type.h:124
#define SPA_TYPE_INFO_PARAM_Buffers
Definition: buffers-types.h:55
#define SPA_TYPE_INFO_PARAM_Latency
Definition: latency-types.h:27
#define SPA_TYPE_INFO_PARAM_Profile
Definition: profile-types.h:27
static const struct spa_type_info spa_type_param_meta[]
Definition: buffers-types.h:32
#define SPA_TYPE_INFO_Format
Definition: format-types.h:29
static const struct spa_type_info spa_type_props[]
Definition: props-types.h:32
static const struct spa_type_info spa_types[]
Definition: type-info.h:42
#define SPA_TYPE_INFO_Pod
Definition: type.h:109
#define SPA_TYPE_INFO_PARAM_ProcessLatency
Definition: latency-types.h:44
static const struct spa_type_info spa_type_node_command[]
Definition: type-info.h:85
#define SPA_TYPE_INFO_Command
Definition: type.h:139
#define SPA_TYPE_INFO_Struct
Definition: type.h:114
static const struct spa_type_info spa_type_param_latency[]
Definition: latency-types.h:31
static const struct spa_type_info spa_type_format[]
Definition: format-types.h:129
static const struct spa_type_info spa_type_param_io[]
Definition: buffers-types.h:47
static const struct spa_type_info spa_type_param_tag[]
Definition: tag-types.h:31
#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:43
uint32_t parent
Definition: type.h:145
#define SPA_TYPE_INFO_Profiler
Definition: profiler-types.h:26
#define SPA_TYPE_INFO_PARAM_PortConfig
Definition: port-config-types.h:40
static const struct spa_type_info spa_type_param_buffers[]
Definition: buffers-types.h:64
#define SPA_TYPE_INFO_PARAM_Tag
Definition: tag-types.h:27
static const struct spa_type_info spa_type_param_process_latency[]
Definition: latency-types.h:48
static const struct spa_type_info spa_type_profiler[]
Definition: profiler-types.h:30
#define SPA_TYPE_INFO_PropInfo
Enum Property info.
Definition: props-types.h:89
static const struct spa_type_info spa_type_node_event[]
Definition: type-info.h:60
static bool spa_type_is_a(const char *type, const char *parent)
Definition: type-info.h:29
#define SPA_TYPE_INFO_Object
Definition: type.h:119
static const struct spa_type_info spa_type_param_port_config[]
Definition: port-config-types.h:44
static const struct spa_type_info spa_type_prop_info[]
Definition: props-types.h:93
#define SPA_TYPE_INFO_POD_BASE
Definition: type.h:111
#define SPA_TYPE_INFO_EVENT_BASE
Definition: type.h:136
#define SPA_TYPE_INFO_Props
Props Param.
Definition: props-types.h:28
static const struct spa_type_info spa_type_param_profile[]
Definition: profile-types.h:31