Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsesoundfont.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_HH__
3 #define __BSE_SOUND_FONT_HH__
4 
5 #include <bse/bsecontainer.hh>
6 #include <bse/bsestorage.hh>
7 
8 /* --- BSE type macros --- */
9 #define BSE_TYPE_SOUND_FONT (BSE_TYPE_ID (BseSoundFont))
10 #define BSE_SOUND_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_SOUND_FONT, BseSoundFont))
11 #define BSE_SOUND_FONT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_SOUND_FONT, BseSoundFontClass))
12 #define BSE_IS_SOUND_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_SOUND_FONT))
13 #define BSE_IS_SOUND_FONT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_SOUND_FONT))
14 #define BSE_SOUND_FONT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_SOUND_FONT, BseSoundFontClass))
15 
17 };
19 {};
20 
21 Bse::Error bse_sound_font_load_blob (BseSoundFont *sound_font,
22  BseStorage::BlobP blob,
23  gboolean init_presets);
24 void bse_sound_font_unload (BseSoundFont *sound_font);
25 Bse::Error bse_sound_font_reload (BseSoundFont *sound_font);
26 int bse_sound_font_get_id (BseSoundFont *sound_font);
27 
28 namespace Bse {
29 
30 class SoundFontImpl : public ContainerImpl, public virtual SoundFontIface {
31 public:
32  BseSoundFontRepo *sfrepo;
33  int sfont_id;
34  BseStorage::BlobP blob;
36 protected:
37  virtual ~SoundFontImpl ();
38 public:
39  explicit SoundFontImpl (BseObject*);
40 };
41 
42 } // Bse
43 
44 
45 #endif /* __BSE_SOUND_FONT_HH__ */
Definition: bsecontainer.hh:24
The Bse namespace contains all functions of the synthesis engine.
Definition: bstbseutils.cc:91
Definition: bsesoundfont.hh:16
Definition: bsesoundfont.hh:18
Definition: bsecontainer.hh:27
Definition: bseobject.hh:57
Definition: bsesoundfontrepo.hh:28
Definition: bsesoundfont.hh:30