PipeWire 1.6.8

Loading...
Searching...
No Matches
type-info.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_CONTROL_TYPES_H
6#define SPA_CONTROL_TYPES_H
7
8#include <spa/utils/defs.h>
9#include <spa/utils/type.h>
10#include <spa/control/control.h>
11
12#ifdef __cplusplus
13 extern "C" {
14#endif
15
20
21/* base for parameter object enumerations */
22#define SPA_TYPE_INFO_Control SPA_TYPE_INFO_ENUM_BASE "Control"
23#define SPA_TYPE_INFO_CONTROL_BASE SPA_TYPE_INFO_Control ":"
24
25 static const struct spa_type_info spa_type_control[] = {
26 { SPA_CONTROL_Invalid, SPA_TYPE_Int, SPA_TYPE_INFO_CONTROL_BASE "Invalid", NULL },
27 { SPA_CONTROL_Properties, SPA_TYPE_Int, SPA_TYPE_INFO_CONTROL_BASE "Properties", NULL },
28 { SPA_CONTROL_Midi, SPA_TYPE_Int, SPA_TYPE_INFO_CONTROL_BASE "Midi", NULL },
29 { SPA_CONTROL_OSC, SPA_TYPE_Int, SPA_TYPE_INFO_CONTROL_BASE "OSC", NULL },
30 { SPA_CONTROL_UMP, SPA_TYPE_Int, SPA_TYPE_INFO_CONTROL_BASE "UMP", NULL },
31 { 0, 0, NULL, NULL },
32};
33
37
38#ifdef __cplusplus
39} /* extern "C" */
40#endif
41
42#endif /* SPA_CONTROL_TYPES_H */
defs.h
spa/utils/defs.h
spa_type_control
static const struct spa_type_info spa_type_control[]
Definition type-info.h:32
SPA_TYPE_INFO_CONTROL_BASE
#define SPA_TYPE_INFO_CONTROL_BASE
Definition type-info.h:30
SPA_CONTROL_UMP
@ SPA_CONTROL_UMP
spa_pod_bytes with raw UMP (universal MIDI packet) data.
Definition control.h:35
SPA_CONTROL_Invalid
@ SPA_CONTROL_Invalid
Definition control.h:31
SPA_CONTROL_Properties
@ SPA_CONTROL_Properties
SPA_TYPE_OBJECT_Props.
Definition control.h:32
SPA_CONTROL_OSC
@ SPA_CONTROL_OSC
spa_pod_bytes with an OSC packet
Definition control.h:34
SPA_CONTROL_Midi
@ SPA_CONTROL_Midi
spa_pod_bytes with raw midi data (deprecated, use SPA_CONTROL_UMP)
Definition control.h:33
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:45
control.h
spa/control/control.h
type.h
spa/utils/type.h
spa_type_info
Definition type.h:156