Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsesoundfontosc.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_SOUND_FONT_OSC_HH__
3 #define __BSE_SOUND_FONT_OSC_HH__
4 
5 #include <bse/bsesource.hh>
7 
8 #define BSE_TYPE_SOUND_FONT_OSC (BSE_TYPE_ID (BseSoundFontOsc))
9 #define BSE_SOUND_FONT_OSC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_SOUND_FONT_OSC, BseSoundFontOsc))
10 #define BSE_SOUND_FONT_OSC_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_SOUND_FONT_OSC, BseSoundFontOscClass))
11 #define BSE_IS_SOUND_FONT_OSC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_SOUND_FONT_OSC))
12 #define BSE_IS_SOUND_FONT_OSC_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_SOUND_FONT_OSC))
13 #define BSE_SOUND_FONT_OSC_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_SOUND_FONT_OSC, BseSoundFontOscClass))
14 
15 enum
16 {
17  BSE_SOUND_FONT_OSC_OCHANNEL_LEFT_OUT,
18  BSE_SOUND_FONT_OSC_OCHANNEL_RIGHT_OUT,
19  BSE_SOUND_FONT_OSC_OCHANNEL_DONE_OUT,
20  BSE_SOUND_FONT_OSC_N_OCHANNELS
21 };
22 
24  int osc_id;
25  int sfont_id;
26  int bank;
27  int program;
28  int silence_bound;
29  BseSoundFontRepo *sfrepo;
30 
31  int update_preset; /* preset changed indicator */
32 };
34  BseSoundFontPreset *preset;
35  BseSoundFontOscConfig config;
36 };
38 {};
39 
40 #endif /* __BSE_SOUND_FONT_OSC_HH__ */
Definition: bsesoundfontpreset.hh:16
Definition: bsesource.hh:82
Definition: bsesource.hh:90
Definition: bsesoundfontosc.hh:37
Definition: bsesoundfontosc.hh:33
Definition: bsesoundfontosc.hh:23
Definition: bsesoundfontrepo.hh:28