Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bseenums.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_ENUMS_H__
3 #define __BSE_ENUMS_H__
4 
5 #include <bse/gsldefs.hh>
6 #include <bse/bsetype.hh>
7 #include <bse/bseserverapi.hh>
8 
9 
10 
11 /* --- enum definitions --- */
12 typedef enum
13 {
14  BSE_IIR_FILTER_BUTTERWORTH = 1,
15  BSE_IIR_FILTER_BESSEL = 2,
16  BSE_IIR_FILTER_CHEBYSHEV1 = 3,
17  BSE_IIR_FILTER_CHEBYSHEV2 = 4,
18  BSE_IIR_FILTER_ELLIPTIC = 5,
19 } BseIIRFilterKind;
20 typedef enum
21 {
22  BSE_IIR_FILTER_LOW_PASS = 1,
23  BSE_IIR_FILTER_BAND_PASS = 2,
24  BSE_IIR_FILTER_HIGH_PASS = 3,
25  BSE_IIR_FILTER_BAND_STOP = 4,
26 } BseIIRFilterType;
27 typedef enum
28 {
29  BSE_REGISTER_PLUGIN = 1,
30  BSE_REGISTER_SCRIPT = 2,
31  BSE_REGISTER_DONE = 256
32 } BseRegistrationType;
33 typedef enum
34 {
35  BSE_INTERPOL_NONE, /*< nick=None >*/
36  BSE_INTERPOL_LINEAR, /*< nick=Linear >*/
37  BSE_INTERPOL_CUBIC /*< nick=Cubic >*/
38 } BseInterpolType;
39 typedef enum
40 {
41  BSE_LOOP_NONE,
42  BSE_LOOP_PATTERN,
43  BSE_LOOP_PATTERN_ROWS,
44  BSE_LOOP_SONG,
45  BSE_LOOP_LAST /*< skip >*/
46 } BseLoopType;
47 typedef enum
48 {
49  BSE_MAGIC_BSE_BIN_EXTENSION = 1 << 0,
50  BSE_MAGIC_BSE_SONG = 1 << 2
51 } BseMagicFlags;
52 
53 #ifdef BSE_IDL_SURROGATES
54 typedef enum
55 {
56  BSE_ERROR_NONE = int64_t (Bse::Error::NONE),
57  BSE_ERROR_INTERNAL = int64_t (Bse::Error::INTERNAL),
58  BSE_ERROR_UNKNOWN = int64_t (Bse::Error::UNKNOWN),
59  BSE_ERROR_IO = int64_t (Bse::Error::IO),
60  BSE_ERROR_PERMS = int64_t (Bse::Error::PERMS),
61  BSE_ERROR_FILE_BUSY = int64_t (Bse::Error::FILE_BUSY),
62  BSE_ERROR_FILE_EXISTS = int64_t (Bse::Error::FILE_EXISTS),
63  BSE_ERROR_FILE_EOF = int64_t (Bse::Error::FILE_EOF),
64  BSE_ERROR_FILE_EMPTY = int64_t (Bse::Error::FILE_EMPTY),
65  BSE_ERROR_FILE_NOT_FOUND = int64_t (Bse::Error::FILE_NOT_FOUND),
66  BSE_ERROR_FILE_IS_DIR = int64_t (Bse::Error::FILE_IS_DIR),
67  BSE_ERROR_FILE_OPEN_FAILED = int64_t (Bse::Error::FILE_OPEN_FAILED),
68  BSE_ERROR_FILE_SEEK_FAILED = int64_t (Bse::Error::FILE_SEEK_FAILED),
69  BSE_ERROR_FILE_READ_FAILED = int64_t (Bse::Error::FILE_READ_FAILED),
70  BSE_ERROR_FILE_WRITE_FAILED = int64_t (Bse::Error::FILE_WRITE_FAILED),
71  BSE_ERROR_MANY_FILES = int64_t (Bse::Error::MANY_FILES),
72  BSE_ERROR_NO_FILES = int64_t (Bse::Error::NO_FILES),
73  BSE_ERROR_NO_SPACE = int64_t (Bse::Error::NO_SPACE),
74  BSE_ERROR_NO_MEMORY = int64_t (Bse::Error::NO_MEMORY),
75  BSE_ERROR_NO_HEADER = int64_t (Bse::Error::NO_HEADER),
76  BSE_ERROR_NO_SEEK_INFO = int64_t (Bse::Error::NO_SEEK_INFO),
77  BSE_ERROR_NO_DATA = int64_t (Bse::Error::NO_DATA),
78  BSE_ERROR_DATA_CORRUPT = int64_t (Bse::Error::DATA_CORRUPT),
79  BSE_ERROR_WRONG_N_CHANNELS = int64_t (Bse::Error::WRONG_N_CHANNELS),
80  BSE_ERROR_FORMAT_INVALID = int64_t (Bse::Error::FORMAT_INVALID),
81  BSE_ERROR_FORMAT_UNKNOWN = int64_t (Bse::Error::FORMAT_UNKNOWN),
82  BSE_ERROR_DATA_UNMATCHED = int64_t (Bse::Error::DATA_UNMATCHED),
83  BSE_ERROR_TEMP = int64_t (Bse::Error::TEMP),
84  BSE_ERROR_WAVE_NOT_FOUND = int64_t (Bse::Error::WAVE_NOT_FOUND),
85  BSE_ERROR_CODEC_FAILURE = int64_t (Bse::Error::CODEC_FAILURE),
86  BSE_ERROR_UNIMPLEMENTED = int64_t (Bse::Error::UNIMPLEMENTED),
87  BSE_ERROR_INVALID_PROPERTY = int64_t (Bse::Error::INVALID_PROPERTY),
88  BSE_ERROR_INVALID_MIDI_CONTROL = int64_t (Bse::Error::INVALID_MIDI_CONTROL),
89  BSE_ERROR_PARSE_ERROR = int64_t (Bse::Error::PARSE_ERROR),
90  BSE_ERROR_SPAWN = int64_t (Bse::Error::SPAWN),
91  BSE_ERROR_DEVICE_NOT_AVAILABLE = int64_t (Bse::Error::DEVICE_NOT_AVAILABLE),
92  BSE_ERROR_DEVICE_ASYNC = int64_t (Bse::Error::DEVICE_ASYNC),
93  BSE_ERROR_DEVICE_BUSY = int64_t (Bse::Error::DEVICE_BUSY),
94  BSE_ERROR_DEVICE_FORMAT = int64_t (Bse::Error::DEVICE_FORMAT),
95  BSE_ERROR_DEVICE_BUFFER = int64_t (Bse::Error::DEVICE_BUFFER),
96  BSE_ERROR_DEVICE_LATENCY = int64_t (Bse::Error::DEVICE_LATENCY),
97  BSE_ERROR_DEVICE_CHANNELS = int64_t (Bse::Error::DEVICE_CHANNELS),
98  BSE_ERROR_DEVICE_FREQUENCY = int64_t (Bse::Error::DEVICE_FREQUENCY),
99  BSE_ERROR_DEVICES_MISMATCH = int64_t (Bse::Error::DEVICES_MISMATCH),
100  BSE_ERROR_SOURCE_NO_SUCH_MODULE = int64_t (Bse::Error::SOURCE_NO_SUCH_MODULE),
101  BSE_ERROR_SOURCE_NO_SUCH_ICHANNEL = int64_t (Bse::Error::SOURCE_NO_SUCH_ICHANNEL),
102  BSE_ERROR_SOURCE_NO_SUCH_OCHANNEL = int64_t (Bse::Error::SOURCE_NO_SUCH_OCHANNEL),
103  BSE_ERROR_SOURCE_NO_SUCH_CONNECTION = int64_t (Bse::Error::SOURCE_NO_SUCH_CONNECTION),
104  BSE_ERROR_SOURCE_PRIVATE_ICHANNEL = int64_t (Bse::Error::SOURCE_PRIVATE_ICHANNEL),
105  BSE_ERROR_SOURCE_ICHANNEL_IN_USE = int64_t (Bse::Error::SOURCE_ICHANNEL_IN_USE),
106  BSE_ERROR_SOURCE_CHANNELS_CONNECTED = int64_t (Bse::Error::SOURCE_CHANNELS_CONNECTED),
107  BSE_ERROR_SOURCE_CONNECTION_INVALID = int64_t (Bse::Error::SOURCE_CONNECTION_INVALID),
108  BSE_ERROR_SOURCE_PARENT_MISMATCH = int64_t (Bse::Error::SOURCE_PARENT_MISMATCH),
109  BSE_ERROR_SOURCE_BAD_LOOPBACK = int64_t (Bse::Error::SOURCE_BAD_LOOPBACK),
110  BSE_ERROR_SOURCE_BUSY = int64_t (Bse::Error::SOURCE_BUSY),
111  BSE_ERROR_SOURCE_TYPE_INVALID = int64_t (Bse::Error::SOURCE_TYPE_INVALID),
112  BSE_ERROR_PROC_NOT_FOUND = int64_t (Bse::Error::PROC_NOT_FOUND),
113  BSE_ERROR_PROC_BUSY = int64_t (Bse::Error::PROC_BUSY),
114  BSE_ERROR_PROC_PARAM_INVAL = int64_t (Bse::Error::PROC_PARAM_INVAL),
115  BSE_ERROR_PROC_EXECUTION = int64_t (Bse::Error::PROC_EXECUTION),
116  BSE_ERROR_PROC_ABORT = int64_t (Bse::Error::PROC_ABORT),
117  BSE_ERROR_NO_ENTRY = int64_t (Bse::Error::NO_ENTRY),
118  BSE_ERROR_NO_EVENT = int64_t (Bse::Error::NO_EVENT),
119  BSE_ERROR_NO_TARGET = int64_t (Bse::Error::NO_TARGET),
120  BSE_ERROR_NOT_OWNER = int64_t (Bse::Error::NOT_OWNER),
121  BSE_ERROR_INVALID_OFFSET = int64_t (Bse::Error::INVALID_OFFSET),
122  BSE_ERROR_INVALID_DURATION = int64_t (Bse::Error::INVALID_DURATION),
123  BSE_ERROR_INVALID_OVERLAP = int64_t (Bse::Error::INVALID_OVERLAP),
124 } BseErrorType;
125 typedef enum
126 {
127  BSE_MIDI_SIGNAL_PROGRAM = int64_t (Bse::MidiSignal::PROGRAM),
128  BSE_MIDI_SIGNAL_PRESSURE = int64_t (Bse::MidiSignal::PRESSURE),
129  BSE_MIDI_SIGNAL_PITCH_BEND = int64_t (Bse::MidiSignal::PITCH_BEND),
130  BSE_MIDI_SIGNAL_VELOCITY = int64_t (Bse::MidiSignal::VELOCITY),
131  BSE_MIDI_SIGNAL_FINE_TUNE = int64_t (Bse::MidiSignal::FINE_TUNE),
132  BSE_MIDI_SIGNAL_CONTINUOUS_0 = int64_t (Bse::MidiSignal::CONTINUOUS_0),
133  BSE_MIDI_SIGNAL_CONTINUOUS_1 = int64_t (Bse::MidiSignal::CONTINUOUS_1),
134  BSE_MIDI_SIGNAL_CONTINUOUS_2 = int64_t (Bse::MidiSignal::CONTINUOUS_2),
135  BSE_MIDI_SIGNAL_CONTINUOUS_3 = int64_t (Bse::MidiSignal::CONTINUOUS_3),
136  BSE_MIDI_SIGNAL_CONTINUOUS_4 = int64_t (Bse::MidiSignal::CONTINUOUS_4),
137  BSE_MIDI_SIGNAL_CONTINUOUS_5 = int64_t (Bse::MidiSignal::CONTINUOUS_5),
138  BSE_MIDI_SIGNAL_CONTINUOUS_6 = int64_t (Bse::MidiSignal::CONTINUOUS_6),
139  BSE_MIDI_SIGNAL_CONTINUOUS_7 = int64_t (Bse::MidiSignal::CONTINUOUS_7),
140  BSE_MIDI_SIGNAL_CONTINUOUS_8 = int64_t (Bse::MidiSignal::CONTINUOUS_8),
141  BSE_MIDI_SIGNAL_CONTINUOUS_9 = int64_t (Bse::MidiSignal::CONTINUOUS_9),
142  BSE_MIDI_SIGNAL_CONTINUOUS_10 = int64_t (Bse::MidiSignal::CONTINUOUS_10),
143  BSE_MIDI_SIGNAL_CONTINUOUS_11 = int64_t (Bse::MidiSignal::CONTINUOUS_11),
144  BSE_MIDI_SIGNAL_CONTINUOUS_12 = int64_t (Bse::MidiSignal::CONTINUOUS_12),
145  BSE_MIDI_SIGNAL_CONTINUOUS_13 = int64_t (Bse::MidiSignal::CONTINUOUS_13),
146  BSE_MIDI_SIGNAL_CONTINUOUS_14 = int64_t (Bse::MidiSignal::CONTINUOUS_14),
147  BSE_MIDI_SIGNAL_CONTINUOUS_15 = int64_t (Bse::MidiSignal::CONTINUOUS_15),
148  BSE_MIDI_SIGNAL_CONTINUOUS_16 = int64_t (Bse::MidiSignal::CONTINUOUS_16),
149  BSE_MIDI_SIGNAL_CONTINUOUS_17 = int64_t (Bse::MidiSignal::CONTINUOUS_17),
150  BSE_MIDI_SIGNAL_CONTINUOUS_18 = int64_t (Bse::MidiSignal::CONTINUOUS_18),
151  BSE_MIDI_SIGNAL_CONTINUOUS_19 = int64_t (Bse::MidiSignal::CONTINUOUS_19),
152  BSE_MIDI_SIGNAL_CONTINUOUS_20 = int64_t (Bse::MidiSignal::CONTINUOUS_20),
153  BSE_MIDI_SIGNAL_CONTINUOUS_21 = int64_t (Bse::MidiSignal::CONTINUOUS_21),
154  BSE_MIDI_SIGNAL_CONTINUOUS_22 = int64_t (Bse::MidiSignal::CONTINUOUS_22),
155  BSE_MIDI_SIGNAL_CONTINUOUS_23 = int64_t (Bse::MidiSignal::CONTINUOUS_23),
156  BSE_MIDI_SIGNAL_CONTINUOUS_24 = int64_t (Bse::MidiSignal::CONTINUOUS_24),
157  BSE_MIDI_SIGNAL_CONTINUOUS_25 = int64_t (Bse::MidiSignal::CONTINUOUS_25),
158  BSE_MIDI_SIGNAL_CONTINUOUS_26 = int64_t (Bse::MidiSignal::CONTINUOUS_26),
159  BSE_MIDI_SIGNAL_CONTINUOUS_27 = int64_t (Bse::MidiSignal::CONTINUOUS_27),
160  BSE_MIDI_SIGNAL_CONTINUOUS_28 = int64_t (Bse::MidiSignal::CONTINUOUS_28),
161  BSE_MIDI_SIGNAL_CONTINUOUS_29 = int64_t (Bse::MidiSignal::CONTINUOUS_29),
162  BSE_MIDI_SIGNAL_CONTINUOUS_30 = int64_t (Bse::MidiSignal::CONTINUOUS_30),
163  BSE_MIDI_SIGNAL_CONTINUOUS_31 = int64_t (Bse::MidiSignal::CONTINUOUS_31),
164  BSE_MIDI_SIGNAL_CONSTANT_HIGH = int64_t (Bse::MidiSignal::CONSTANT_HIGH),
165  BSE_MIDI_SIGNAL_CONSTANT_CENTER = int64_t (Bse::MidiSignal::CONSTANT_CENTER),
166  BSE_MIDI_SIGNAL_CONSTANT_LOW = int64_t (Bse::MidiSignal::CONSTANT_LOW),
167  BSE_MIDI_SIGNAL_CONSTANT_NEGATIVE_CENTER = int64_t (Bse::MidiSignal::CONSTANT_NEGATIVE_CENTER),
168  BSE_MIDI_SIGNAL_CONSTANT_NEGATIVE_HIGH = int64_t (Bse::MidiSignal::CONSTANT_NEGATIVE_HIGH),
169  BSE_MIDI_SIGNAL_PARAMETER = int64_t (Bse::MidiSignal::PARAMETER),
170  BSE_MIDI_SIGNAL_NON_PARAMETER = int64_t (Bse::MidiSignal::NON_PARAMETER),
171  BSE_MIDI_SIGNAL_CONTROL_0 = int64_t (Bse::MidiSignal::CONTROL_0),
172  BSE_MIDI_SIGNAL_CONTROL_1 = int64_t (Bse::MidiSignal::CONTROL_1),
173  BSE_MIDI_SIGNAL_CONTROL_2 = int64_t (Bse::MidiSignal::CONTROL_2),
174  BSE_MIDI_SIGNAL_CONTROL_3 = int64_t (Bse::MidiSignal::CONTROL_3),
175  BSE_MIDI_SIGNAL_CONTROL_4 = int64_t (Bse::MidiSignal::CONTROL_4),
176  BSE_MIDI_SIGNAL_CONTROL_5 = int64_t (Bse::MidiSignal::CONTROL_5),
177  BSE_MIDI_SIGNAL_CONTROL_6 = int64_t (Bse::MidiSignal::CONTROL_6),
178  BSE_MIDI_SIGNAL_CONTROL_7 = int64_t (Bse::MidiSignal::CONTROL_7),
179  BSE_MIDI_SIGNAL_CONTROL_8 = int64_t (Bse::MidiSignal::CONTROL_8),
180  BSE_MIDI_SIGNAL_CONTROL_9 = int64_t (Bse::MidiSignal::CONTROL_9),
181  BSE_MIDI_SIGNAL_CONTROL_10 = int64_t (Bse::MidiSignal::CONTROL_10),
182  BSE_MIDI_SIGNAL_CONTROL_11 = int64_t (Bse::MidiSignal::CONTROL_11),
183  BSE_MIDI_SIGNAL_CONTROL_12 = int64_t (Bse::MidiSignal::CONTROL_12),
184  BSE_MIDI_SIGNAL_CONTROL_13 = int64_t (Bse::MidiSignal::CONTROL_13),
185  BSE_MIDI_SIGNAL_CONTROL_14 = int64_t (Bse::MidiSignal::CONTROL_14),
186  BSE_MIDI_SIGNAL_CONTROL_15 = int64_t (Bse::MidiSignal::CONTROL_15),
187  BSE_MIDI_SIGNAL_CONTROL_16 = int64_t (Bse::MidiSignal::CONTROL_16),
188  BSE_MIDI_SIGNAL_CONTROL_17 = int64_t (Bse::MidiSignal::CONTROL_17),
189  BSE_MIDI_SIGNAL_CONTROL_18 = int64_t (Bse::MidiSignal::CONTROL_18),
190  BSE_MIDI_SIGNAL_CONTROL_19 = int64_t (Bse::MidiSignal::CONTROL_19),
191  BSE_MIDI_SIGNAL_CONTROL_20 = int64_t (Bse::MidiSignal::CONTROL_20),
192  BSE_MIDI_SIGNAL_CONTROL_21 = int64_t (Bse::MidiSignal::CONTROL_21),
193  BSE_MIDI_SIGNAL_CONTROL_22 = int64_t (Bse::MidiSignal::CONTROL_22),
194  BSE_MIDI_SIGNAL_CONTROL_23 = int64_t (Bse::MidiSignal::CONTROL_23),
195  BSE_MIDI_SIGNAL_CONTROL_24 = int64_t (Bse::MidiSignal::CONTROL_24),
196  BSE_MIDI_SIGNAL_CONTROL_25 = int64_t (Bse::MidiSignal::CONTROL_25),
197  BSE_MIDI_SIGNAL_CONTROL_26 = int64_t (Bse::MidiSignal::CONTROL_26),
198  BSE_MIDI_SIGNAL_CONTROL_27 = int64_t (Bse::MidiSignal::CONTROL_27),
199  BSE_MIDI_SIGNAL_CONTROL_28 = int64_t (Bse::MidiSignal::CONTROL_28),
200  BSE_MIDI_SIGNAL_CONTROL_29 = int64_t (Bse::MidiSignal::CONTROL_29),
201  BSE_MIDI_SIGNAL_CONTROL_30 = int64_t (Bse::MidiSignal::CONTROL_30),
202  BSE_MIDI_SIGNAL_CONTROL_31 = int64_t (Bse::MidiSignal::CONTROL_31),
203  BSE_MIDI_SIGNAL_CONTROL_32 = int64_t (Bse::MidiSignal::CONTROL_32),
204  BSE_MIDI_SIGNAL_CONTROL_33 = int64_t (Bse::MidiSignal::CONTROL_33),
205  BSE_MIDI_SIGNAL_CONTROL_34 = int64_t (Bse::MidiSignal::CONTROL_34),
206  BSE_MIDI_SIGNAL_CONTROL_35 = int64_t (Bse::MidiSignal::CONTROL_35),
207  BSE_MIDI_SIGNAL_CONTROL_36 = int64_t (Bse::MidiSignal::CONTROL_36),
208  BSE_MIDI_SIGNAL_CONTROL_37 = int64_t (Bse::MidiSignal::CONTROL_37),
209  BSE_MIDI_SIGNAL_CONTROL_38 = int64_t (Bse::MidiSignal::CONTROL_38),
210  BSE_MIDI_SIGNAL_CONTROL_39 = int64_t (Bse::MidiSignal::CONTROL_39),
211  BSE_MIDI_SIGNAL_CONTROL_40 = int64_t (Bse::MidiSignal::CONTROL_40),
212  BSE_MIDI_SIGNAL_CONTROL_41 = int64_t (Bse::MidiSignal::CONTROL_41),
213  BSE_MIDI_SIGNAL_CONTROL_42 = int64_t (Bse::MidiSignal::CONTROL_42),
214  BSE_MIDI_SIGNAL_CONTROL_43 = int64_t (Bse::MidiSignal::CONTROL_43),
215  BSE_MIDI_SIGNAL_CONTROL_44 = int64_t (Bse::MidiSignal::CONTROL_44),
216  BSE_MIDI_SIGNAL_CONTROL_45 = int64_t (Bse::MidiSignal::CONTROL_45),
217  BSE_MIDI_SIGNAL_CONTROL_46 = int64_t (Bse::MidiSignal::CONTROL_46),
218  BSE_MIDI_SIGNAL_CONTROL_47 = int64_t (Bse::MidiSignal::CONTROL_47),
219  BSE_MIDI_SIGNAL_CONTROL_48 = int64_t (Bse::MidiSignal::CONTROL_48),
220  BSE_MIDI_SIGNAL_CONTROL_49 = int64_t (Bse::MidiSignal::CONTROL_49),
221  BSE_MIDI_SIGNAL_CONTROL_50 = int64_t (Bse::MidiSignal::CONTROL_50),
222  BSE_MIDI_SIGNAL_CONTROL_51 = int64_t (Bse::MidiSignal::CONTROL_51),
223  BSE_MIDI_SIGNAL_CONTROL_52 = int64_t (Bse::MidiSignal::CONTROL_52),
224  BSE_MIDI_SIGNAL_CONTROL_53 = int64_t (Bse::MidiSignal::CONTROL_53),
225  BSE_MIDI_SIGNAL_CONTROL_54 = int64_t (Bse::MidiSignal::CONTROL_54),
226  BSE_MIDI_SIGNAL_CONTROL_55 = int64_t (Bse::MidiSignal::CONTROL_55),
227  BSE_MIDI_SIGNAL_CONTROL_56 = int64_t (Bse::MidiSignal::CONTROL_56),
228  BSE_MIDI_SIGNAL_CONTROL_57 = int64_t (Bse::MidiSignal::CONTROL_57),
229  BSE_MIDI_SIGNAL_CONTROL_58 = int64_t (Bse::MidiSignal::CONTROL_58),
230  BSE_MIDI_SIGNAL_CONTROL_59 = int64_t (Bse::MidiSignal::CONTROL_59),
231  BSE_MIDI_SIGNAL_CONTROL_60 = int64_t (Bse::MidiSignal::CONTROL_60),
232  BSE_MIDI_SIGNAL_CONTROL_61 = int64_t (Bse::MidiSignal::CONTROL_61),
233  BSE_MIDI_SIGNAL_CONTROL_62 = int64_t (Bse::MidiSignal::CONTROL_62),
234  BSE_MIDI_SIGNAL_CONTROL_63 = int64_t (Bse::MidiSignal::CONTROL_63),
235  BSE_MIDI_SIGNAL_CONTROL_64 = int64_t (Bse::MidiSignal::CONTROL_64),
236  BSE_MIDI_SIGNAL_CONTROL_65 = int64_t (Bse::MidiSignal::CONTROL_65),
237  BSE_MIDI_SIGNAL_CONTROL_66 = int64_t (Bse::MidiSignal::CONTROL_66),
238  BSE_MIDI_SIGNAL_CONTROL_67 = int64_t (Bse::MidiSignal::CONTROL_67),
239  BSE_MIDI_SIGNAL_CONTROL_68 = int64_t (Bse::MidiSignal::CONTROL_68),
240  BSE_MIDI_SIGNAL_CONTROL_69 = int64_t (Bse::MidiSignal::CONTROL_69),
241  BSE_MIDI_SIGNAL_CONTROL_70 = int64_t (Bse::MidiSignal::CONTROL_70),
242  BSE_MIDI_SIGNAL_CONTROL_71 = int64_t (Bse::MidiSignal::CONTROL_71),
243  BSE_MIDI_SIGNAL_CONTROL_72 = int64_t (Bse::MidiSignal::CONTROL_72),
244  BSE_MIDI_SIGNAL_CONTROL_73 = int64_t (Bse::MidiSignal::CONTROL_73),
245  BSE_MIDI_SIGNAL_CONTROL_74 = int64_t (Bse::MidiSignal::CONTROL_74),
246  BSE_MIDI_SIGNAL_CONTROL_75 = int64_t (Bse::MidiSignal::CONTROL_75),
247  BSE_MIDI_SIGNAL_CONTROL_76 = int64_t (Bse::MidiSignal::CONTROL_76),
248  BSE_MIDI_SIGNAL_CONTROL_77 = int64_t (Bse::MidiSignal::CONTROL_77),
249  BSE_MIDI_SIGNAL_CONTROL_78 = int64_t (Bse::MidiSignal::CONTROL_78),
250  BSE_MIDI_SIGNAL_CONTROL_79 = int64_t (Bse::MidiSignal::CONTROL_79),
251  BSE_MIDI_SIGNAL_CONTROL_80 = int64_t (Bse::MidiSignal::CONTROL_80),
252  BSE_MIDI_SIGNAL_CONTROL_81 = int64_t (Bse::MidiSignal::CONTROL_81),
253  BSE_MIDI_SIGNAL_CONTROL_82 = int64_t (Bse::MidiSignal::CONTROL_82),
254  BSE_MIDI_SIGNAL_CONTROL_83 = int64_t (Bse::MidiSignal::CONTROL_83),
255  BSE_MIDI_SIGNAL_CONTROL_84 = int64_t (Bse::MidiSignal::CONTROL_84),
256  BSE_MIDI_SIGNAL_CONTROL_85 = int64_t (Bse::MidiSignal::CONTROL_85),
257  BSE_MIDI_SIGNAL_CONTROL_86 = int64_t (Bse::MidiSignal::CONTROL_86),
258  BSE_MIDI_SIGNAL_CONTROL_87 = int64_t (Bse::MidiSignal::CONTROL_87),
259  BSE_MIDI_SIGNAL_CONTROL_88 = int64_t (Bse::MidiSignal::CONTROL_88),
260  BSE_MIDI_SIGNAL_CONTROL_89 = int64_t (Bse::MidiSignal::CONTROL_89),
261  BSE_MIDI_SIGNAL_CONTROL_90 = int64_t (Bse::MidiSignal::CONTROL_90),
262  BSE_MIDI_SIGNAL_CONTROL_91 = int64_t (Bse::MidiSignal::CONTROL_91),
263  BSE_MIDI_SIGNAL_CONTROL_92 = int64_t (Bse::MidiSignal::CONTROL_92),
264  BSE_MIDI_SIGNAL_CONTROL_93 = int64_t (Bse::MidiSignal::CONTROL_93),
265  BSE_MIDI_SIGNAL_CONTROL_94 = int64_t (Bse::MidiSignal::CONTROL_94),
266  BSE_MIDI_SIGNAL_CONTROL_95 = int64_t (Bse::MidiSignal::CONTROL_95),
267  BSE_MIDI_SIGNAL_CONTROL_96 = int64_t (Bse::MidiSignal::CONTROL_96),
268  BSE_MIDI_SIGNAL_CONTROL_97 = int64_t (Bse::MidiSignal::CONTROL_97),
269  BSE_MIDI_SIGNAL_CONTROL_98 = int64_t (Bse::MidiSignal::CONTROL_98),
270  BSE_MIDI_SIGNAL_CONTROL_99 = int64_t (Bse::MidiSignal::CONTROL_99),
271  BSE_MIDI_SIGNAL_CONTROL_100 = int64_t (Bse::MidiSignal::CONTROL_100),
272  BSE_MIDI_SIGNAL_CONTROL_101 = int64_t (Bse::MidiSignal::CONTROL_101),
273  BSE_MIDI_SIGNAL_CONTROL_102 = int64_t (Bse::MidiSignal::CONTROL_102),
274  BSE_MIDI_SIGNAL_CONTROL_103 = int64_t (Bse::MidiSignal::CONTROL_103),
275  BSE_MIDI_SIGNAL_CONTROL_104 = int64_t (Bse::MidiSignal::CONTROL_104),
276  BSE_MIDI_SIGNAL_CONTROL_105 = int64_t (Bse::MidiSignal::CONTROL_105),
277  BSE_MIDI_SIGNAL_CONTROL_106 = int64_t (Bse::MidiSignal::CONTROL_106),
278  BSE_MIDI_SIGNAL_CONTROL_107 = int64_t (Bse::MidiSignal::CONTROL_107),
279  BSE_MIDI_SIGNAL_CONTROL_108 = int64_t (Bse::MidiSignal::CONTROL_108),
280  BSE_MIDI_SIGNAL_CONTROL_109 = int64_t (Bse::MidiSignal::CONTROL_109),
281  BSE_MIDI_SIGNAL_CONTROL_110 = int64_t (Bse::MidiSignal::CONTROL_110),
282  BSE_MIDI_SIGNAL_CONTROL_111 = int64_t (Bse::MidiSignal::CONTROL_111),
283  BSE_MIDI_SIGNAL_CONTROL_112 = int64_t (Bse::MidiSignal::CONTROL_112),
284  BSE_MIDI_SIGNAL_CONTROL_113 = int64_t (Bse::MidiSignal::CONTROL_113),
285  BSE_MIDI_SIGNAL_CONTROL_114 = int64_t (Bse::MidiSignal::CONTROL_114),
286  BSE_MIDI_SIGNAL_CONTROL_115 = int64_t (Bse::MidiSignal::CONTROL_115),
287  BSE_MIDI_SIGNAL_CONTROL_116 = int64_t (Bse::MidiSignal::CONTROL_116),
288  BSE_MIDI_SIGNAL_CONTROL_117 = int64_t (Bse::MidiSignal::CONTROL_117),
289  BSE_MIDI_SIGNAL_CONTROL_118 = int64_t (Bse::MidiSignal::CONTROL_118),
290  BSE_MIDI_SIGNAL_CONTROL_119 = int64_t (Bse::MidiSignal::CONTROL_119),
291  BSE_MIDI_SIGNAL_CONTROL_120 = int64_t (Bse::MidiSignal::CONTROL_120),
292  BSE_MIDI_SIGNAL_CONTROL_121 = int64_t (Bse::MidiSignal::CONTROL_121),
293  BSE_MIDI_SIGNAL_CONTROL_122 = int64_t (Bse::MidiSignal::CONTROL_122),
294  BSE_MIDI_SIGNAL_CONTROL_123 = int64_t (Bse::MidiSignal::CONTROL_123),
295  BSE_MIDI_SIGNAL_CONTROL_124 = int64_t (Bse::MidiSignal::CONTROL_124),
296  BSE_MIDI_SIGNAL_CONTROL_125 = int64_t (Bse::MidiSignal::CONTROL_125),
297  BSE_MIDI_SIGNAL_CONTROL_126 = int64_t (Bse::MidiSignal::CONTROL_126),
298  BSE_MIDI_SIGNAL_CONTROL_127 = int64_t (Bse::MidiSignal::CONTROL_127),
299 } BseMidiSignalType;
300 #endif // BSE_IDL_SURROGATES
301 
302 
303 /* --- convenience functions --- */
304 const gchar* bse_error_blurb (Bse::Error error_value);
305 Bse::Error bse_error_from_errno (gint v_errno, Bse::Error fallback);
306 
307 #define bse_assert_ok(error) G_STMT_START{ \
308  if G_UNLIKELY (error) \
309  { \
310  g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, \
311  "%s:%d: unexpected error: %s", \
312  __FILE__, __LINE__, bse_error_blurb (error)); \
313  } \
314 }G_STMT_END
315 
316 
317 #endif /* __BSE_ENUMS_H__ */
typedef int64_t