BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
bsegentypes.h
Go to the documentation of this file.
1 
5 /* --- gsldatacache.hh --- */
6 #define BSE_TYPE_DATA_CACHE_REQUEST (BSE_TYPE_ID (GslDataCacheRequest)) // enum
7 extern GType BSE_TYPE_ID (GslDataCacheRequest);
8 
9 /* --- gslvorbis-cutter.hh --- */
10 #define BSE_TYPE_VORBIS_CUTTER_MODE (BSE_TYPE_ID (GslVorbisCutterMode)) // enum
11 extern GType BSE_TYPE_ID (GslVorbisCutterMode);
12 
13 /* --- bseexports.hh --- */
14 #define BSE_TYPE_EXPORT_NODE_TYPE (BSE_TYPE_ID (BseExportNodeType)) // enum
15 extern GType BSE_TYPE_ID (BseExportNodeType);
16 
17 /* --- bsebiquadfilter.hh --- */
18 #define BSE_TYPE_BIQUAD_FILTER_TYPE (BSE_TYPE_ID (BseBiquadFilterType)) // enum
19 extern GType BSE_TYPE_ID (BseBiquadFilterType);
20 #define BSE_TYPE_BIQUAD_FILTER_NORM (BSE_TYPE_ID (BseBiquadFilterNorm)) // enum
21 extern GType BSE_TYPE_ID (BseBiquadFilterNorm);
22 
23 /* --- bseenums.hh --- */
24 #define BSE_TYPE_IIR_FILTER_KIND (BSE_TYPE_ID (BseIIRFilterKind)) // enum
25 extern GType BSE_TYPE_ID (BseIIRFilterKind);
26 #define BSE_TYPE_IIR_FILTER_TYPE (BSE_TYPE_ID (BseIIRFilterType)) // enum
27 extern GType BSE_TYPE_ID (BseIIRFilterType);
28 #define BSE_TYPE_REGISTRATION_TYPE (BSE_TYPE_ID (BseRegistrationType)) // enum
29 extern GType BSE_TYPE_ID (BseRegistrationType);
30 #define BSE_TYPE_INTERPOL_TYPE (BSE_TYPE_ID (BseInterpolType)) // enum
31 extern GType BSE_TYPE_ID (BseInterpolType);
32 #define BSE_TYPE_LOOP_TYPE (BSE_TYPE_ID (BseLoopType)) // enum
33 extern GType BSE_TYPE_ID (BseLoopType);
34 #define BSE_TYPE_MAGIC_FLAGS (BSE_TYPE_ID (BseMagicFlags)) // enum
35 extern GType BSE_TYPE_ID (BseMagicFlags);
36 #define BSE_TYPE_ERROR_TYPE (BSE_TYPE_ID (BseErrorType)) // enum
37 extern GType BSE_TYPE_ID (BseErrorType);
38 #define BSE_TYPE_MIDI_SIGNAL_TYPE (BSE_TYPE_ID (BseMidiSignalType)) // enum
39 extern GType BSE_TYPE_ID (BseMidiSignalType);
40 
41 /* --- bseglobals.hh --- */
42 #define BSE_TYPE_TIME_RANGE_TYPE (BSE_TYPE_ID (BseTimeRangeType)) // enum
43 extern GType BSE_TYPE_ID (BseTimeRangeType);
44 
45 /* --- bsemidievent.hh --- */
46 #define BSE_TYPE_MIDI_EVENT_TYPE (BSE_TYPE_ID (BseMidiEventType)) // enum
47 extern GType BSE_TYPE_ID (BseMidiEventType);
48 
49 /* --- bseproject.hh --- */
50 #define BSE_TYPE_PROJECT_STATE (BSE_TYPE_ID (BseProjectState)) // enum
51 extern GType BSE_TYPE_ID (BseProjectState);
52 
53 /* --- bsestandardosc.hh --- */
54 #define BSE_TYPE_STANDARD_OSC_WAVE_TYPE (BSE_TYPE_ID (BseStandardOscWaveType)) // enum
55 extern GType BSE_TYPE_ID (BseStandardOscWaveType);
56 
57 /* --- bsemididecoder.hh --- */
58 #define BSE_TYPE_MIDI_DECODER_STATE (BSE_TYPE_ID (BseMidiDecoderState)) // enum
59 extern GType BSE_TYPE_ID (BseMidiDecoderState);
60 
61 
62 
63 
64 /*
65  * Generated data (by mktypes.pl --externs)
66  */
67 
68 /* --- bsebus.cc --- */
69 extern GType bse_type_builtin_id_BseBus;
70 
71 /* --- bsebiquadfilter.cc --- */
72 extern GType bse_type_builtin_id_BseBiquadFilter;
73 
74 /* --- bseconstant.cc --- */
75 extern GType bse_type_builtin_id_BseConstant;
76 
77 /* --- bsecontainer.cc --- */
78 extern GType bse_type_builtin_id_BseContainer;
79 
80 /* --- bsecontextmerger.cc --- */
81 extern GType bse_type_builtin_id_BseContextMerger;
82 
83 /* --- bsedatapocket.cc --- */
84 extern GType bse_type_builtin_id_BseDataPocket;
85 
86 /* --- bseeditablesample.cc --- */
87 extern GType bse_type_builtin_id_BseEditableSample;
88 
89 /* --- bseitem.cc --- */
90 extern GType bse_type_builtin_id_BseItem;
91 
92 /* --- bsejanitor.cc --- */
93 extern GType bse_type_builtin_id_BseJanitor;
94 
95 /* --- bseladspa.cc --- */
96 extern GType bse_type_builtin_id_BseLadspaPlugin;
97 
98 /* --- bsemidicontroller.cc --- */
99 extern GType bse_type_builtin_id_BseMidiController;
100 
101 /* --- bsemididevice.cc --- */
102 extern GType bse_type_builtin_id_BseMidiDevice;
103 
104 /* --- bsedevice.cc --- */
105 extern GType bse_type_builtin_id_BseDevice;
106 
107 /* --- bsemididevice-null.cc --- */
108 extern GType bse_type_builtin_id_BseMidiDeviceNULL;
109 
110 /* --- bsemididevice-oss.cc --- */
111 extern GType bse_type_builtin_id_BseMidiDeviceOSS;
112 
113 /* --- bsemidinotifier.cc --- */
114 extern GType bse_type_builtin_id_BseMidiNotifier;
115 
116 /* --- bsemidisynth.cc --- */
117 extern GType bse_type_builtin_id_BseMidiSynth;
118 
119 /* --- bseobject.cc --- */
120 extern GType bse_type_builtin_id_BseObject;
121 
122 /* --- bsepart.cc --- */
123 extern GType bse_type_builtin_id_BsePart;
124 
125 /* --- bsepcminput.cc --- */
126 extern GType bse_type_builtin_id_BsePcmInput;
127 
128 /* --- bsepcmoutput.cc --- */
129 extern GType bse_type_builtin_id_BsePcmOutput;
130 
131 /* --- bsepcmdevice.cc --- */
132 extern GType bse_type_builtin_id_BsePcmDevice;
133 
134 /* --- bsepcmdevice-oss.cc --- */
135 extern GType bse_type_builtin_id_BsePcmDeviceOSS;
136 
137 /* --- bsepcmdevice-null.cc --- */
138 extern GType bse_type_builtin_id_BsePcmDeviceNull;
139 
140 /* --- bseplugin.cc --- */
141 extern GType bse_type_builtin_id_BsePlugin;
142 
143 /* --- bseproject.cc --- */
144 extern GType bse_type_builtin_id_BseProject;
145 
146 /* --- bseserver.cc --- */
147 extern GType bse_type_builtin_id_BseServer;
148 
149 /* --- bsesnet.cc --- */
150 extern GType bse_type_builtin_id_BseSNet;
151 
152 /* --- bsesnooper.cc --- */
153 extern GType bse_type_builtin_id_BseSnooper;
154 
155 /* --- bsesong.cc --- */
156 extern GType bse_type_builtin_id_BseSong;
157 
158 /* --- bsesource.cc --- */
159 extern GType bse_type_builtin_id_BseSource;
160 
161 /* --- bsestandardosc.cc --- */
162 extern GType bse_type_builtin_id_BseStandardOsc;
163 
164 /* --- bsestorage.cc --- */
165 extern GType bse_type_builtin_id_BseStorage;
166 
167 /* --- bseinstrumentoutput.cc --- */
168 extern GType bse_type_builtin_id_BseInstrumentOutput;
169 
170 /* --- bsesubiport.cc --- */
171 extern GType bse_type_builtin_id_BseSubIPort;
172 
173 /* --- bseinstrumentinput.cc --- */
174 extern GType bse_type_builtin_id_BseInstrumentInput;
175 
176 /* --- bsesuboport.cc --- */
177 extern GType bse_type_builtin_id_BseSubOPort;
178 
179 /* --- bsesubsynth.cc --- */
180 extern GType bse_type_builtin_id_BseSubSynth;
181 
182 /* --- bsesuper.cc --- */
183 extern GType bse_type_builtin_id_BseSuper;
184 
185 /* --- bsetrack.cc --- */
186 extern GType bse_type_builtin_id_BseTrack;
187 
188 /* --- bsemidivoice.cc --- */
189 extern GType bse_type_builtin_id_BseMidiVoiceInput;
190 
191 /* --- bsemidivoice.cc --- */
192 extern GType bse_type_builtin_id_BseMidiVoiceSwitch;
193 
194 /* --- bsewave.cc --- */
195 extern GType bse_type_builtin_id_BseWave;
196 
197 /* --- bsewaveosc.cc --- */
198 extern GType bse_type_builtin_id_BseWaveOsc;
199 
200 /* --- bsecsynth.cc --- */
201 extern GType bse_type_builtin_id_BseCSynth;
202 
203 /* --- bsewaverepo.cc --- */
204 extern GType bse_type_builtin_id_BseWaveRepo;
205 
206 /* --- bseladspamodule.cc --- */
207 extern GType bse_type_builtin_id_BseLadspaModule;
208 
209 /* --- bsepcmwriter.cc --- */
210 extern GType bse_type_builtin_id_BsePcmWriter;
211 
212 /* --- bsemidiinput.cc --- */
213 extern GType bse_type_builtin_id_BseMidiInput;
214 
215 /*
216  * Generated data ends here
217  */
218 
219 /*-------- begin ../sfi/sfidl generated code --------*/
220 
221 
222 
223 
224 /* enums */
225 
226 typedef enum {
227  BSE_MUSICAL_TUNING_12_TET = 1,
228  BSE_MUSICAL_TUNING_7_TET = 2,
229  BSE_MUSICAL_TUNING_5_TET = 3,
230  BSE_MUSICAL_TUNING_DIATONIC_SCALE = 4,
231  BSE_MUSICAL_TUNING_INDIAN_SCALE = 5,
232  BSE_MUSICAL_TUNING_PYTHAGOREAN_TUNING = 6,
233  BSE_MUSICAL_TUNING_PENTATONIC_5_LIMIT = 7,
234  BSE_MUSICAL_TUNING_PENTATONIC_BLUES = 8,
235  BSE_MUSICAL_TUNING_PENTATONIC_GOGO = 9,
236  BSE_MUSICAL_TUNING_QUARTER_COMMA_MEANTONE = 10,
237  BSE_MUSICAL_TUNING_SILBERMANN_SORGE = 11,
238  BSE_MUSICAL_TUNING_WERCKMEISTER_3 = 12,
239  BSE_MUSICAL_TUNING_WERCKMEISTER_4 = 13,
240  BSE_MUSICAL_TUNING_WERCKMEISTER_5 = 14,
241  BSE_MUSICAL_TUNING_WERCKMEISTER_6 = 15,
242  BSE_MUSICAL_TUNING_KIRNBERGER_3 = 16,
243  BSE_MUSICAL_TUNING_YOUNG = 17,
244 } BseMusicalTuningType;
245 
246 typedef enum {
247  BSE_MIDI_CONTROL_NONE = 0,
248  BSE_MIDI_CONTROL_CONTINUOUS_0 = 64,
249  BSE_MIDI_CONTROL_CONTINUOUS_1 = 65,
250  BSE_MIDI_CONTROL_CONTINUOUS_2 = 66,
251  BSE_MIDI_CONTROL_CONTINUOUS_3 = 67,
252  BSE_MIDI_CONTROL_CONTINUOUS_4 = 68,
253  BSE_MIDI_CONTROL_CONTINUOUS_5 = 69,
254  BSE_MIDI_CONTROL_CONTINUOUS_6 = 70,
255  BSE_MIDI_CONTROL_CONTINUOUS_7 = 71,
256  BSE_MIDI_CONTROL_CONTINUOUS_8 = 72,
257  BSE_MIDI_CONTROL_CONTINUOUS_9 = 73,
258  BSE_MIDI_CONTROL_CONTINUOUS_10 = 74,
259  BSE_MIDI_CONTROL_CONTINUOUS_11 = 75,
260  BSE_MIDI_CONTROL_CONTINUOUS_12 = 76,
261  BSE_MIDI_CONTROL_CONTINUOUS_13 = 77,
262  BSE_MIDI_CONTROL_CONTINUOUS_14 = 78,
263  BSE_MIDI_CONTROL_CONTINUOUS_15 = 79,
264  BSE_MIDI_CONTROL_CONTINUOUS_16 = 80,
265  BSE_MIDI_CONTROL_CONTINUOUS_17 = 81,
266  BSE_MIDI_CONTROL_CONTINUOUS_18 = 82,
267  BSE_MIDI_CONTROL_CONTINUOUS_19 = 83,
268  BSE_MIDI_CONTROL_CONTINUOUS_20 = 84,
269  BSE_MIDI_CONTROL_CONTINUOUS_21 = 85,
270  BSE_MIDI_CONTROL_CONTINUOUS_22 = 86,
271  BSE_MIDI_CONTROL_CONTINUOUS_23 = 87,
272  BSE_MIDI_CONTROL_CONTINUOUS_24 = 88,
273  BSE_MIDI_CONTROL_CONTINUOUS_25 = 89,
274  BSE_MIDI_CONTROL_CONTINUOUS_26 = 90,
275  BSE_MIDI_CONTROL_CONTINUOUS_27 = 91,
276  BSE_MIDI_CONTROL_CONTINUOUS_28 = 92,
277  BSE_MIDI_CONTROL_CONTINUOUS_29 = 93,
278  BSE_MIDI_CONTROL_CONTINUOUS_30 = 94,
279  BSE_MIDI_CONTROL_CONTINUOUS_31 = 95,
280  BSE_MIDI_CONTROL_0 = 128,
281  BSE_MIDI_CONTROL_1 = 129,
282  BSE_MIDI_CONTROL_2 = 130,
283  BSE_MIDI_CONTROL_3 = 131,
284  BSE_MIDI_CONTROL_4 = 132,
285  BSE_MIDI_CONTROL_5 = 133,
286  BSE_MIDI_CONTROL_6 = 134,
287  BSE_MIDI_CONTROL_7 = 135,
288  BSE_MIDI_CONTROL_8 = 136,
289  BSE_MIDI_CONTROL_9 = 137,
290  BSE_MIDI_CONTROL_10 = 138,
291  BSE_MIDI_CONTROL_11 = 139,
292  BSE_MIDI_CONTROL_12 = 140,
293  BSE_MIDI_CONTROL_13 = 141,
294  BSE_MIDI_CONTROL_14 = 142,
295  BSE_MIDI_CONTROL_15 = 143,
296  BSE_MIDI_CONTROL_16 = 144,
297  BSE_MIDI_CONTROL_17 = 145,
298  BSE_MIDI_CONTROL_18 = 146,
299  BSE_MIDI_CONTROL_19 = 147,
300  BSE_MIDI_CONTROL_20 = 148,
301  BSE_MIDI_CONTROL_21 = 149,
302  BSE_MIDI_CONTROL_22 = 150,
303  BSE_MIDI_CONTROL_23 = 151,
304  BSE_MIDI_CONTROL_24 = 152,
305  BSE_MIDI_CONTROL_25 = 153,
306  BSE_MIDI_CONTROL_26 = 154,
307  BSE_MIDI_CONTROL_27 = 155,
308  BSE_MIDI_CONTROL_28 = 156,
309  BSE_MIDI_CONTROL_29 = 157,
310  BSE_MIDI_CONTROL_30 = 158,
311  BSE_MIDI_CONTROL_31 = 159,
312  BSE_MIDI_CONTROL_32 = 160,
313  BSE_MIDI_CONTROL_33 = 161,
314  BSE_MIDI_CONTROL_34 = 162,
315  BSE_MIDI_CONTROL_35 = 163,
316  BSE_MIDI_CONTROL_36 = 164,
317  BSE_MIDI_CONTROL_37 = 165,
318  BSE_MIDI_CONTROL_38 = 166,
319  BSE_MIDI_CONTROL_39 = 167,
320  BSE_MIDI_CONTROL_40 = 168,
321  BSE_MIDI_CONTROL_41 = 169,
322  BSE_MIDI_CONTROL_42 = 170,
323  BSE_MIDI_CONTROL_43 = 171,
324  BSE_MIDI_CONTROL_44 = 172,
325  BSE_MIDI_CONTROL_45 = 173,
326  BSE_MIDI_CONTROL_46 = 174,
327  BSE_MIDI_CONTROL_47 = 175,
328  BSE_MIDI_CONTROL_48 = 176,
329  BSE_MIDI_CONTROL_49 = 177,
330  BSE_MIDI_CONTROL_50 = 178,
331  BSE_MIDI_CONTROL_51 = 179,
332  BSE_MIDI_CONTROL_52 = 180,
333  BSE_MIDI_CONTROL_53 = 181,
334  BSE_MIDI_CONTROL_54 = 182,
335  BSE_MIDI_CONTROL_55 = 183,
336  BSE_MIDI_CONTROL_56 = 184,
337  BSE_MIDI_CONTROL_57 = 185,
338  BSE_MIDI_CONTROL_58 = 186,
339  BSE_MIDI_CONTROL_59 = 187,
340  BSE_MIDI_CONTROL_60 = 188,
341  BSE_MIDI_CONTROL_61 = 189,
342  BSE_MIDI_CONTROL_62 = 190,
343  BSE_MIDI_CONTROL_63 = 191,
344  BSE_MIDI_CONTROL_64 = 192,
345  BSE_MIDI_CONTROL_65 = 193,
346  BSE_MIDI_CONTROL_66 = 194,
347  BSE_MIDI_CONTROL_67 = 195,
348  BSE_MIDI_CONTROL_68 = 196,
349  BSE_MIDI_CONTROL_69 = 197,
350  BSE_MIDI_CONTROL_70 = 198,
351  BSE_MIDI_CONTROL_71 = 199,
352  BSE_MIDI_CONTROL_72 = 200,
353  BSE_MIDI_CONTROL_73 = 201,
354  BSE_MIDI_CONTROL_74 = 202,
355  BSE_MIDI_CONTROL_75 = 203,
356  BSE_MIDI_CONTROL_76 = 204,
357  BSE_MIDI_CONTROL_77 = 205,
358  BSE_MIDI_CONTROL_78 = 206,
359  BSE_MIDI_CONTROL_79 = 207,
360  BSE_MIDI_CONTROL_80 = 208,
361  BSE_MIDI_CONTROL_81 = 209,
362  BSE_MIDI_CONTROL_82 = 210,
363  BSE_MIDI_CONTROL_83 = 211,
364  BSE_MIDI_CONTROL_84 = 212,
365  BSE_MIDI_CONTROL_85 = 213,
366  BSE_MIDI_CONTROL_86 = 214,
367  BSE_MIDI_CONTROL_87 = 215,
368  BSE_MIDI_CONTROL_88 = 216,
369  BSE_MIDI_CONTROL_89 = 217,
370  BSE_MIDI_CONTROL_90 = 218,
371  BSE_MIDI_CONTROL_91 = 219,
372  BSE_MIDI_CONTROL_92 = 220,
373  BSE_MIDI_CONTROL_93 = 221,
374  BSE_MIDI_CONTROL_94 = 222,
375  BSE_MIDI_CONTROL_95 = 223,
376  BSE_MIDI_CONTROL_96 = 224,
377  BSE_MIDI_CONTROL_97 = 225,
378  BSE_MIDI_CONTROL_98 = 226,
379  BSE_MIDI_CONTROL_99 = 227,
380  BSE_MIDI_CONTROL_100 = 228,
381  BSE_MIDI_CONTROL_101 = 229,
382  BSE_MIDI_CONTROL_102 = 230,
383  BSE_MIDI_CONTROL_103 = 231,
384  BSE_MIDI_CONTROL_104 = 232,
385  BSE_MIDI_CONTROL_105 = 233,
386  BSE_MIDI_CONTROL_106 = 234,
387  BSE_MIDI_CONTROL_107 = 235,
388  BSE_MIDI_CONTROL_108 = 236,
389  BSE_MIDI_CONTROL_109 = 237,
390  BSE_MIDI_CONTROL_110 = 238,
391  BSE_MIDI_CONTROL_111 = 239,
392  BSE_MIDI_CONTROL_112 = 240,
393  BSE_MIDI_CONTROL_113 = 241,
394  BSE_MIDI_CONTROL_114 = 242,
395  BSE_MIDI_CONTROL_115 = 243,
396  BSE_MIDI_CONTROL_116 = 244,
397  BSE_MIDI_CONTROL_117 = 245,
398  BSE_MIDI_CONTROL_118 = 246,
399  BSE_MIDI_CONTROL_119 = 247,
400  BSE_MIDI_CONTROL_120 = 248,
401  BSE_MIDI_CONTROL_121 = 249,
402  BSE_MIDI_CONTROL_122 = 250,
403  BSE_MIDI_CONTROL_123 = 251,
404  BSE_MIDI_CONTROL_124 = 252,
405  BSE_MIDI_CONTROL_125 = 253,
406  BSE_MIDI_CONTROL_126 = 254,
407  BSE_MIDI_CONTROL_127 = 255,
408 } BseMidiControlType;
409 
410 typedef enum {
411  BSE_MIDI_EVENT_NONE = 0,
412  BSE_MIDI_EVENT_NOTE_OFF = 1,
413  BSE_MIDI_EVENT_NOTE_ON = 2,
414  BSE_MIDI_EVENT_KEY_PRESSURE = 3,
415  BSE_MIDI_EVENT_CONTROL_CHANGE = 4,
416  BSE_MIDI_EVENT_PROGRAM_CHANGE = 5,
417  BSE_MIDI_EVENT_CHANNEL_PRESSURE = 6,
418  BSE_MIDI_EVENT_PITCH_BEND = 7,
419  BSE_MIDI_EVENT_SYS_EX = 8,
420  BSE_MIDI_EVENT_SONG_POINTER = 9,
421  BSE_MIDI_EVENT_SONG_SELECT = 10,
422  BSE_MIDI_EVENT_TUNE = 11,
423  BSE_MIDI_EVENT_TIMING_CLOCK = 12,
424  BSE_MIDI_EVENT_SONG_START = 13,
425  BSE_MIDI_EVENT_SONG_CONTINUE = 14,
426  BSE_MIDI_EVENT_SONG_STOP = 15,
427  BSE_MIDI_EVENT_ACTIVE_SENSING = 16,
428  BSE_MIDI_EVENT_SYSTEM_RESET = 17,
429 } BseMidiChannelEventType;
430 
431 
432 /* record typedefs */
433 typedef struct _BseMidiChannelEvent BseMidiChannelEvent;
434 typedef struct _BsePropertyCandidates BsePropertyCandidates;
435 typedef struct _BseNoteDescription BseNoteDescription;
436 typedef struct _BseNoteSequence BseNoteSequence;
437 typedef struct _BseIcon BseIcon;
438 typedef struct _BseCategory BseCategory;
439 typedef struct _BseDot BseDot;
440 typedef struct _BseTrackPart BseTrackPart;
441 typedef struct _BseSampleFileInfo BseSampleFileInfo;
442 typedef struct _BseGConfig BseGConfig;
443 
444 
445 /* sequence typedefs */
446 typedef struct _BseIntSeq BseIntSeq;
447 typedef struct _BseTypeSeq BseTypeSeq;
448 typedef struct _BseStringSeq BseStringSeq;
449 typedef struct _BseFloatSeq BseFloatSeq;
450 typedef struct _BseNoteSeq BseNoteSeq;
451 typedef struct _BseItemSeq BseItemSeq;
452 typedef struct _BsePixelSeq BsePixelSeq;
453 typedef struct _BseCategorySeq BseCategorySeq;
454 typedef struct _BseDotSeq BseDotSeq;
455 typedef struct _BseTrackPartSeq BseTrackPartSeq;
456 
457 
458 /* sequences */
459 struct _BseIntSeq {
460  guint n_ints;
461  SfiInt* ints;
462 };
463 struct _BseTypeSeq {
464  guint n_types;
465  gchar** types;
466 };
467 struct _BseStringSeq {
468  guint n_strings;
469  gchar** strings;
470 };
471 struct _BseFloatSeq {
472  guint n_values;
473  SfiReal* values;
474 };
475 struct _BseNoteSeq {
476  guint n_notes;
477  SfiInt* notes;
478 };
479 struct _BseItemSeq {
480  guint n_items;
481  BseItem** items;
482 };
483 struct _BsePixelSeq {
484  guint n_pixels;
485  SfiInt* pixels;
486 };
487 struct _BseCategorySeq {
488  guint n_cats;
489  BseCategory** cats;
490 };
491 struct _BseDotSeq {
492  guint n_dots;
493  BseDot** dots;
494 };
495 struct _BseTrackPartSeq {
496  guint n_tparts;
497  BseTrackPart** tparts;
498 };
499 
500 
501 /* records */
502 struct _BseMidiChannelEvent {
503  BseMidiChannelEventType event_type;
504  SfiInt channel;
505  SfiNum tick_stamp;
506  SfiReal frequency;
507  SfiReal velocity;
508  SfiInt control;
509  SfiReal value;
510  SfiInt program;
511  SfiReal intensity;
512  SfiReal pitch_bend;
513  SfiInt song_pointer;
514  SfiInt song_number;
515 };
516 struct _BsePropertyCandidates {
517  gchar* label;
518  gchar* tooltip;
519  BseItemSeq* items;
520  BseTypeSeq* partitions;
521 };
522 struct _BseNoteDescription {
523  BseMusicalTuningType musical_tuning;
524  SfiInt note;
525  SfiInt octave;
526  SfiReal freq;
527  SfiInt fine_tune;
528  SfiInt semitone;
529  SfiBool upshift;
530  SfiInt letter;
531  gchar* name;
532  SfiInt max_fine_tune;
533  SfiInt kammer_note;
534 };
535 struct _BseNoteSequence {
536  SfiInt offset;
537  BseNoteSeq* notes;
538 };
539 struct _BseIcon {
540  SfiInt width;
541  SfiInt height;
542  BsePixelSeq* pixel_seq;
543 };
544 struct _BseCategory {
545  SfiInt category_id;
546  gchar* category;
547  SfiInt mindex;
548  SfiInt lindex;
549  gchar* type;
550  BseIcon* icon;
551 };
552 struct _BseDot {
553  SfiReal x;
554  SfiReal y;
555 };
556 struct _BseTrackPart {
557  SfiInt tick;
558  BsePart* part;
559  SfiInt duration;
560 };
561 struct _BseSampleFileInfo {
562  gchar* file;
563  SfiInt size;
564  SfiNum mtime;
565  gchar* loader;
566  BseStringSeq* waves;
567  SfiInt error;
568 };
569 struct _BseGConfig {
570  SfiInt synth_latency;
571  SfiInt synth_mixing_freq;
572  SfiInt synth_control_freq;
573  SfiBool invert_sustain;
574  gchar* author_default;
575  gchar* license_default;
576  gchar* sample_path;
577  gchar* effect_path;
578  gchar* instrument_path;
579  gchar* script_path;
580  gchar* plugin_path;
581  gchar* ladspa_path;
582 };
583 
584 
585 /* record functions */
586 SfiRecFields bse_midi_channel_event_get_fields (void);
587 BseMidiChannelEvent* bse_midi_channel_event_new (void);
588 BseMidiChannelEvent* bse_midi_channel_event_copy_shallow (BseMidiChannelEvent* rec);
589 BseMidiChannelEvent* bse_midi_channel_event_from_rec (SfiRec *sfi_rec);
590 SfiRec *bse_midi_channel_event_to_rec (BseMidiChannelEvent* rec);
591 void bse_midi_channel_event_free (BseMidiChannelEvent* rec);
592 
593 SfiRecFields bse_property_candidates_get_fields (void);
594 BsePropertyCandidates* bse_property_candidates_new (void);
595 BsePropertyCandidates* bse_property_candidates_copy_shallow (BsePropertyCandidates* rec);
596 BsePropertyCandidates* bse_property_candidates_from_rec (SfiRec *sfi_rec);
597 SfiRec *bse_property_candidates_to_rec (BsePropertyCandidates* rec);
598 void bse_property_candidates_free (BsePropertyCandidates* rec);
599 
600 SfiRecFields bse_note_description_get_fields (void);
601 BseNoteDescription* bse_note_description_new (void);
602 BseNoteDescription* bse_note_description_copy_shallow (BseNoteDescription* rec);
603 BseNoteDescription* bse_note_description_from_rec (SfiRec *sfi_rec);
604 SfiRec *bse_note_description_to_rec (BseNoteDescription* rec);
605 void bse_note_description_free (BseNoteDescription* rec);
606 
607 SfiRecFields bse_note_sequence_get_fields (void);
608 BseNoteSequence* bse_note_sequence_new (void);
609 BseNoteSequence* bse_note_sequence_copy_shallow (BseNoteSequence* rec);
610 BseNoteSequence* bse_note_sequence_from_rec (SfiRec *sfi_rec);
611 SfiRec *bse_note_sequence_to_rec (BseNoteSequence* rec);
612 void bse_note_sequence_free (BseNoteSequence* rec);
613 
614 SfiRecFields bse_icon_get_fields (void);
615 BseIcon* bse_icon_new (void);
616 BseIcon* bse_icon_copy_shallow (BseIcon* rec);
617 BseIcon* bse_icon_from_rec (SfiRec *sfi_rec);
618 SfiRec *bse_icon_to_rec (BseIcon* rec);
619 void bse_icon_free (BseIcon* rec);
620 
621 SfiRecFields bse_category_get_fields (void);
622 BseCategory* bse_category_new (void);
623 BseCategory* bse_category_copy_shallow (BseCategory* rec);
624 BseCategory* bse_category_from_rec (SfiRec *sfi_rec);
625 SfiRec *bse_category_to_rec (BseCategory* rec);
626 void bse_category_free (BseCategory* rec);
627 
628 SfiRecFields bse_dot_get_fields (void);
629 BseDot* bse_dot_new (void);
630 BseDot* bse_dot_copy_shallow (BseDot* rec);
631 BseDot* bse_dot_from_rec (SfiRec *sfi_rec);
632 SfiRec *bse_dot_to_rec (BseDot* rec);
633 void bse_dot_free (BseDot* rec);
634 
635 SfiRecFields bse_track_part_get_fields (void);
636 BseTrackPart* bse_track_part_new (void);
637 BseTrackPart* bse_track_part_copy_shallow (BseTrackPart* rec);
638 BseTrackPart* bse_track_part_from_rec (SfiRec *sfi_rec);
639 SfiRec *bse_track_part_to_rec (BseTrackPart* rec);
640 void bse_track_part_free (BseTrackPart* rec);
641 
642 SfiRecFields bse_sample_file_info_get_fields (void);
643 BseSampleFileInfo* bse_sample_file_info_new (void);
644 BseSampleFileInfo* bse_sample_file_info_copy_shallow (BseSampleFileInfo* rec);
645 BseSampleFileInfo* bse_sample_file_info_from_rec (SfiRec *sfi_rec);
646 SfiRec *bse_sample_file_info_to_rec (BseSampleFileInfo* rec);
647 void bse_sample_file_info_free (BseSampleFileInfo* rec);
648 
649 SfiRecFields bse_gconfig_get_fields (void);
650 BseGConfig* bse_gconfig_new (void);
651 BseGConfig* bse_gconfig_copy_shallow (BseGConfig* rec);
652 BseGConfig* bse_gconfig_from_rec (SfiRec *sfi_rec);
653 SfiRec *bse_gconfig_to_rec (BseGConfig* rec);
654 void bse_gconfig_free (BseGConfig* rec);
655 
656 
657 
658 /* sequence functions */
659 GParamSpec* bse_int_seq_get_element (void);
660 BseIntSeq* bse_int_seq_new (void);
661 void bse_int_seq_append (BseIntSeq* seq, SfiInt element);
662 BseIntSeq* bse_int_seq_copy_shallow (BseIntSeq* seq);
663 BseIntSeq* bse_int_seq_from_seq (SfiSeq *sfi_seq);
664 SfiSeq *bse_int_seq_to_seq (BseIntSeq* seq);
665 void bse_int_seq_resize (BseIntSeq* seq, guint new_size);
666 void bse_int_seq_free (BseIntSeq* seq);
667 
668 GParamSpec* bse_type_seq_get_element (void);
669 BseTypeSeq* bse_type_seq_new (void);
670 void bse_type_seq_append (BseTypeSeq* seq, const char* element);
671 BseTypeSeq* bse_type_seq_copy_shallow (BseTypeSeq* seq);
672 BseTypeSeq* bse_type_seq_from_seq (SfiSeq *sfi_seq);
673 SfiSeq *bse_type_seq_to_seq (BseTypeSeq* seq);
674 void bse_type_seq_resize (BseTypeSeq* seq, guint new_size);
675 void bse_type_seq_free (BseTypeSeq* seq);
676 
677 GParamSpec* bse_string_seq_get_element (void);
678 BseStringSeq* bse_string_seq_new (void);
679 void bse_string_seq_append (BseStringSeq* seq, const char* element);
680 BseStringSeq* bse_string_seq_copy_shallow (BseStringSeq* seq);
681 BseStringSeq* bse_string_seq_from_seq (SfiSeq *sfi_seq);
682 SfiSeq *bse_string_seq_to_seq (BseStringSeq* seq);
683 void bse_string_seq_resize (BseStringSeq* seq, guint new_size);
684 void bse_string_seq_free (BseStringSeq* seq);
685 
686 GParamSpec* bse_float_seq_get_element (void);
687 BseFloatSeq* bse_float_seq_new (void);
688 void bse_float_seq_append (BseFloatSeq* seq, SfiReal element);
689 BseFloatSeq* bse_float_seq_copy_shallow (BseFloatSeq* seq);
690 BseFloatSeq* bse_float_seq_from_seq (SfiSeq *sfi_seq);
691 SfiSeq *bse_float_seq_to_seq (BseFloatSeq* seq);
692 void bse_float_seq_resize (BseFloatSeq* seq, guint new_size);
693 void bse_float_seq_free (BseFloatSeq* seq);
694 
695 GParamSpec* bse_note_seq_get_element (void);
696 BseNoteSeq* bse_note_seq_new (void);
697 void bse_note_seq_append (BseNoteSeq* seq, SfiInt element);
698 BseNoteSeq* bse_note_seq_copy_shallow (BseNoteSeq* seq);
699 BseNoteSeq* bse_note_seq_from_seq (SfiSeq *sfi_seq);
700 SfiSeq *bse_note_seq_to_seq (BseNoteSeq* seq);
701 void bse_note_seq_resize (BseNoteSeq* seq, guint new_size);
702 void bse_note_seq_free (BseNoteSeq* seq);
703 
704 GParamSpec* bse_item_seq_get_element (void);
705 BseItemSeq* bse_item_seq_new (void);
706 void bse_item_seq_append (BseItemSeq* seq, BseItem* element);
707 BseItemSeq* bse_item_seq_copy_shallow (BseItemSeq* seq);
708 BseItemSeq* bse_item_seq_from_seq (SfiSeq *sfi_seq);
709 SfiSeq *bse_item_seq_to_seq (BseItemSeq* seq);
710 void bse_item_seq_resize (BseItemSeq* seq, guint new_size);
711 void bse_item_seq_free (BseItemSeq* seq);
712 
713 GParamSpec* bse_pixel_seq_get_element (void);
714 BsePixelSeq* bse_pixel_seq_new (void);
715 void bse_pixel_seq_append (BsePixelSeq* seq, SfiInt element);
716 BsePixelSeq* bse_pixel_seq_copy_shallow (BsePixelSeq* seq);
717 BsePixelSeq* bse_pixel_seq_from_seq (SfiSeq *sfi_seq);
718 SfiSeq *bse_pixel_seq_to_seq (BsePixelSeq* seq);
719 void bse_pixel_seq_resize (BsePixelSeq* seq, guint new_size);
720 void bse_pixel_seq_free (BsePixelSeq* seq);
721 
722 GParamSpec* bse_category_seq_get_element (void);
723 BseCategorySeq* bse_category_seq_new (void);
724 void bse_category_seq_append (BseCategorySeq* seq, BseCategory* element);
725 BseCategorySeq* bse_category_seq_copy_shallow (BseCategorySeq* seq);
726 BseCategorySeq* bse_category_seq_from_seq (SfiSeq *sfi_seq);
727 SfiSeq *bse_category_seq_to_seq (BseCategorySeq* seq);
728 void bse_category_seq_resize (BseCategorySeq* seq, guint new_size);
729 void bse_category_seq_free (BseCategorySeq* seq);
730 
731 GParamSpec* bse_dot_seq_get_element (void);
732 BseDotSeq* bse_dot_seq_new (void);
733 void bse_dot_seq_append (BseDotSeq* seq, BseDot* element);
734 BseDotSeq* bse_dot_seq_copy_shallow (BseDotSeq* seq);
735 BseDotSeq* bse_dot_seq_from_seq (SfiSeq *sfi_seq);
736 SfiSeq *bse_dot_seq_to_seq (BseDotSeq* seq);
737 void bse_dot_seq_resize (BseDotSeq* seq, guint new_size);
738 void bse_dot_seq_free (BseDotSeq* seq);
739 
740 GParamSpec* bse_track_part_seq_get_element (void);
741 BseTrackPartSeq* bse_track_part_seq_new (void);
742 void bse_track_part_seq_append (BseTrackPartSeq* seq, BseTrackPart* element);
743 BseTrackPartSeq* bse_track_part_seq_copy_shallow (BseTrackPartSeq* seq);
744 BseTrackPartSeq* bse_track_part_seq_from_seq (SfiSeq *sfi_seq);
745 SfiSeq *bse_track_part_seq_to_seq (BseTrackPartSeq* seq);
746 void bse_track_part_seq_resize (BseTrackPartSeq* seq, guint new_size);
747 void bse_track_part_seq_free (BseTrackPartSeq* seq);
748 
749 
750 
751 /* enum functions */
752 SfiChoiceValues bse_musical_tuning_type_get_values (void);
753 SfiChoiceValues bse_midi_control_type_get_values (void);
754 SfiChoiceValues bse_midi_channel_event_type_get_values (void);
755 
756 
757 /* enum type ids */
758 extern GType bse__type_id__musical_tuning_type;
759 extern GType bse__type_id__midi_control_type;
760 extern GType bse__type_id__midi_channel_event_type;
761 
762 
763 /* record type ids */
764 extern GType bse__type_id__midi_channel_event;
765 extern GType bse__type_id__property_candidates;
766 extern GType bse__type_id__note_description;
767 extern GType bse__type_id__note_sequence;
768 extern GType bse__type_id__icon;
769 extern GType bse__type_id__category;
770 extern GType bse__type_id__dot;
771 extern GType bse__type_id__track_part;
772 extern GType bse__type_id__sample_file_info;
773 extern GType bse__type_id__gconfig;
774 
775 
776 /* sequence type ids */
777 extern GType bse__type_id__int_seq;
778 extern GType bse__type_id__type_seq;
779 extern GType bse__type_id__string_seq;
780 extern GType bse__type_id__float_seq;
781 extern GType bse__type_id__note_seq;
782 extern GType bse__type_id__item_seq;
783 extern GType bse__type_id__pixel_seq;
784 extern GType bse__type_id__category_seq;
785 extern GType bse__type_id__dot_seq;
786 extern GType bse__type_id__track_part_seq;
787 
788 #ifndef __cplusplus
789 
790 
791 /* enum type macros */
792 #define BSE_TYPE_MUSICAL_TUNING_TYPE (bse__type_id__musical_tuning_type)
793 #define BSE_TYPE_MIDI_CONTROL_TYPE (bse__type_id__midi_control_type)
794 #define BSE_TYPE_MIDI_CHANNEL_EVENT_TYPE (bse__type_id__midi_channel_event_type)
795 
796 
797 /* record type macros */
798 #define BSE_TYPE_MIDI_CHANNEL_EVENT (bse__type_id__midi_channel_event)
799 #define BSE_TYPE_PROPERTY_CANDIDATES (bse__type_id__property_candidates)
800 #define BSE_TYPE_NOTE_DESCRIPTION (bse__type_id__note_description)
801 #define BSE_TYPE_NOTE_SEQUENCE (bse__type_id__note_sequence)
802 #define BSE_TYPE_ICON (bse__type_id__icon)
803 #define BSE_TYPE_CATEGORY (bse__type_id__category)
804 #define BSE_TYPE_DOT (bse__type_id__dot)
805 #define BSE_TYPE_TRACK_PART (bse__type_id__track_part)
806 #define BSE_TYPE_SAMPLE_FILE_INFO (bse__type_id__sample_file_info)
807 #define BSE_TYPE_GCONFIG (bse__type_id__gconfig)
808 
809 
810 /* sequence type macros */
811 #define BSE_TYPE_INT_SEQ (bse__type_id__int_seq)
812 #define BSE_TYPE_TYPE_SEQ (bse__type_id__type_seq)
813 #define BSE_TYPE_STRING_SEQ (bse__type_id__string_seq)
814 #define BSE_TYPE_FLOAT_SEQ (bse__type_id__float_seq)
815 #define BSE_TYPE_NOTE_SEQ (bse__type_id__note_seq)
816 #define BSE_TYPE_ITEM_SEQ (bse__type_id__item_seq)
817 #define BSE_TYPE_PIXEL_SEQ (bse__type_id__pixel_seq)
818 #define BSE_TYPE_CATEGORY_SEQ (bse__type_id__category_seq)
819 #define BSE_TYPE_DOT_SEQ (bse__type_id__dot_seq)
820 #define BSE_TYPE_TRACK_PART_SEQ (bse__type_id__track_part_seq)
821 
822 #endif
823 
824 /*-------- end ../sfi/sfidl generated code --------*/
825 
826 
Definition: bstoldbseapi.h:902
Definition: bstoldbseapi.h:848
Definition: bstoldbseapi.h:989
Definition: bstoldbseapi.h:977
Definition: bstoldbseapi.h:961
Definition: bstoldbseapi.h:907
Definition: bstoldbseapi.h:881
Definition: bstoldbseapi.h:890
Definition: bstoldbseapi.h:915
Definition: bstoldbseapi.h:981
Definition: sfitypes.hh:31
Definition: sfiparams.hh:71
Definition: bstoldbseapi.h:957
Definition: bstoldbseapi.h:868
Definition: bstoldbseapi.h:965
Definition: bstoldbseapi.h:985
Definition: bstoldbseapi.h:862
Definition: bstoldbseapi.h:898
Definition: bstoldbseapi.h:885
Definition: bsepart.hh:26
Definition: bseitem.hh:34
Definition: bstoldbseapi.h:953
Definition: bstoldbseapi.h:969
Definition: bstoldbseapi.h:973