25 #ifndef SPA_TYPE_INFO_H
26 #define SPA_TYPE_INFO_H
32 #include <spa/utils/defs.h>
40 #define SPA_TYPE_ROOT spa_types
45 return type != NULL && parent != NULL && strncmp(type, parent, strlen(parent)) == 0;
48 #include <spa/utils/type.h>
51 #define SPA_TYPE_INFO_Direction SPA_TYPE_INFO_ENUM_BASE "Direction"
52 #define SPA_TYPE_INFO_DIRECTION_BASE SPA_TYPE_INFO_Direction ":"
60 #include <spa/monitor/type-info.h>
61 #include <spa/node/type-info.h>
62 #include <spa/param/type-info.h>
63 #include <spa/control/type-info.h>
66 #define SPA_TYPE_INFO_Choice SPA_TYPE_INFO_ENUM_BASE "Choice"
67 #define SPA_TYPE_INFO_CHOICE_BASE SPA_TYPE_INFO_Choice ":"
#define SPA_TYPE_INFO_Event
Definition: type.h:153
uint32_t type
Definition: type.h:163
#define SPA_TYPE_INFO_PARAM_Route
Definition: type-info.h:424
static const struct spa_type_info spa_type_param_route[]
Definition: type-info.h:428
#define SPA_TYPE_INFO_PARAM_Meta
Definition: type-info.h:185
#define SPA_TYPE_INFO_COMMAND_BASE
Definition: type.h:160
#define SPA_TYPE_INFO_POINTER_BASE
Definition: type.h:145
#define SPA_TYPE_INFO_BASE
Definition: type.h:115
static const struct spa_type_info spa_type_device_event[]
Definition: type-info.h:61
flags: default, possible flags,...
Definition: pod.h:171
#define SPA_TYPE_INFO_Pointer
Definition: type.h:143
#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_PARAM_Profile
Definition: type-info.h:377
static const struct spa_type_info spa_type_param_meta[]
Definition: type-info.h:189
#define SPA_TYPE_INFO_Format
Definition: type-info.h:212
static const struct spa_type_info spa_type_props[]
Definition: type-info.h:116
static const struct spa_type_info spa_types[]
Definition: type-info.h:88
#define SPA_TYPE_INFO_Pod
Definition: type.h:128
#define SPA_TYPE_INFO_PARAM_ProcessLatency
Definition: type-info.h:480
static const struct spa_type_info spa_type_node_command[]
Definition: type-info.h:105
#define SPA_TYPE_INFO_Command
Definition: type.h:158
#define SPA_TYPE_INFO_Struct
Definition: type.h:133
static const struct spa_type_info spa_type_param_latency[]
Definition: type-info.h:467
static const struct spa_type_info spa_type_format[]
Definition: type-info.h:295
static const struct spa_type_info spa_type_param_io[]
Definition: type-info.h:204
#define SPA_TYPE_INFO_DIRECTION_BASE
Definition: type-info.h:60
#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
uint32_t parent
Definition: type.h:164
#define SPA_TYPE_INFO_Profiler
Definition: type-info.h:449
#define SPA_TYPE_INFO_PARAM_PortConfig
Definition: type-info.h:408
no choice, first value is current
Definition: pod.h:167
list: default, alternative,...
Definition: pod.h:170
range: default, min, max
Definition: pod.h:168
static const struct spa_type_info spa_type_param_buffers[]
Definition: type-info.h:353
static const struct spa_type_info spa_type_direction[]
Definition: type-info.h:62
#define SPA_TYPE_INFO_CHOICE_BASE
Definition: type-info.h:77
range with step: default, min, max, step
Definition: pod.h:169
static const struct spa_type_info spa_type_choice[]
Definition: type-info.h:79
static const struct spa_type_info spa_type_param_process_latency[]
Definition: type-info.h:484
static const struct spa_type_info spa_type_profiler[]
Definition: type-info.h:453
#define SPA_TYPE_INFO_PropInfo
Enum Property info.
Definition: type-info.h:168
static const struct spa_type_info spa_type_node_event[]
Definition: type-info.h:80
static bool spa_type_is_a(const char *type, const char *parent)
Definition: type-info.h:49
#define SPA_TYPE_INFO_Object
Definition: type.h:138
static const struct spa_type_info spa_type_param_port_config[]
Definition: type-info.h:412
static const struct spa_type_info spa_type_prop_info[]
Definition: type-info.h:172
#define SPA_TYPE_INFO_POD_BASE
Definition: type.h:130
#define SPA_TYPE_INFO_EVENT_BASE
Definition: type.h:155
#define SPA_TYPE_INFO_Props
Definition: type-info.h:81
static const struct spa_type_info spa_type_param_profile[]
Definition: type-info.h:381