Vuo
2.4.4
Loading...
Searching...
No Matches
node
vuo.midi
VuoMidiController.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
27
typedef
struct
28
{
29
unsigned
char
channel
;
30
unsigned
char
controllerNumber
;
31
unsigned
char
value
;
32
}
VuoMidiController
;
33
34
#define VuoMidiController_SUPPORTS_COMPARISON
35
36
VuoMidiController
VuoMidiController_makeFromJson
(
struct
json_object * js);
37
struct
json_object *
VuoMidiController_getJson
(
const
VuoMidiController
value);
38
char
*
VuoMidiController_getSummary
(
const
VuoMidiController
value);
39
40
bool
VuoMidiController_areEqual
(
const
VuoMidiController
value1,
const
VuoMidiController
value2);
41
bool
VuoMidiController_isLessThan
(
const
VuoMidiController
a,
const
VuoMidiController
b);
42
46
static
inline
VuoMidiController
VuoMidiController_make
(
unsigned
char
channel,
unsigned
char
controllerNumber,
unsigned
char
value) __attribute__((
const
));
47
static
inline
VuoMidiController
VuoMidiController_make
(
unsigned
char
channel,
unsigned
char
controllerNumber,
unsigned
char
value)
48
{
49
VuoMidiController
mn;
50
mn.
channel
= channel;
51
mn.
controllerNumber
= controllerNumber;
52
mn.
value
= value;
53
return
mn;
54
}
55
57
60
char
*
VuoMidiController_getString
(
const
VuoMidiController
value);
61
void
VuoMidiController_retain
(
VuoMidiController
value);
62
void
VuoMidiController_release
(
VuoMidiController
value);
64
69
#ifdef __cplusplus
70
}
71
#endif
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8