PipeWire: type-info.h Source File

PipeWire 0.3.67

Loading...
Searching...
No Matches
control/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#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/utils/defs.h>
18#include <spa/utils/type-info.h>
19#include <spa/control/control.h>
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
25static 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 { 0, 0, NULL, NULL },
31};
32
37#ifdef __cplusplus
38} /* extern "C" */
39#endif
40
41#endif /* SPA_CONTROL_TYPES_H */
defs.h
spa/utils/defs.h
spa_type_control
static const struct spa_type_info spa_type_control[]
Definition: control/type-info.h:32
SPA_TYPE_INFO_CONTROL_BASE
#define SPA_TYPE_INFO_CONTROL_BASE
Definition: control/type-info.h:30
SPA_CONTROL_Invalid
@ SPA_CONTROL_Invalid
Definition: spa/include/spa/control/control.h:31
SPA_CONTROL_Properties
@ SPA_CONTROL_Properties
data contains a SPA_TYPE_OBJECT_Props
Definition: spa/include/spa/control/control.h:32
SPA_CONTROL_OSC
@ SPA_CONTROL_OSC
data contains a spa_pod_bytes with an OSC packet
Definition: spa/include/spa/control/control.h:34
SPA_CONTROL_Midi
@ SPA_CONTROL_Midi
data contains a spa_pod_bytes with raw midi data
Definition: spa/include/spa/control/control.h:33
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition: spa/include/spa/utils/type.h:34
control.h
spa/control/control.h
spa_type_info
Definition: spa/include/spa/utils/type.h:142
type-info.h
spa/utils/type-info.h