Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsesoundfontpreset.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_PRESET_HH__
3 #define __BSE_SOUND_FONT_PRESET_HH__
4 
5 #include <bse/bseitem.hh>
6 #include <fluidsynth.h>
7 
8 /* --- BSE type macros --- */
9 #define BSE_TYPE_SOUND_FONT_PRESET (BSE_TYPE_ID (BseSoundFontPreset))
10 #define BSE_SOUND_FONT_PRESET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_SOUND_FONT_PRESET, BseSoundFontPreset))
11 #define BSE_SOUND_FONT_PRESET_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_SOUND_FONT_PRESET, BseSoundFontPresetClass))
12 #define BSE_IS_SOUND_FONT_PRESET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_SOUND_FONT_PRESET))
13 #define BSE_IS_SOUND_FONT_PRESET_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_SOUND_FONT_PRESET))
14 #define BSE_SOUND_FONT_PRESET_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_SOUND_FONT_PRESET, BseSoundFontPresetClass))
15 
17  int program;
18  int bank;
19 };
21 {};
22 
23 void bse_sound_font_preset_init_preset (BseSoundFontPreset *self,
24  fluid_preset_t *fluid_preset);
25 
26 #endif /* __BSE_SOUND_FONT_PRESET_HH__ */
Definition: bsesoundfontpreset.hh:20
Definition: bsesoundfontpreset.hh:16
Definition: bseitem.hh:37
Definition: bseitem.hh:32