Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsecompat.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_COMPAT_H__
3 #define __BSE_COMPAT_H__
4 
5 #include <bse/bseenums.hh>
6 
7 
8 /* --- parameter changes --- */
9 #define bse_param_spec_genum(name,nick,blurb, genum_type, default_value, hints) \
10  bse_param_spec_enum (name,nick,blurb, int (default_value), genum_type, hints)
11 #define bse_param_spec_freq_simple(name, nick, blurb, hints) \
12  bse_param_spec_freq (name, nick, blurb, BSE_KAMMER_FREQUENCY, BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY, hints)
13 #define bse_param_spec_fine_tune(name, nick, blurb) \
14  sfi_pspec_int (name, nick, blurb, 0, BSE_MIN_FINE_TUNE, BSE_MAX_FINE_TUNE, 10, \
15  "scale:" SFI_PARAM_STANDARD)
16 #define bse_param_spec_octave(name, nick, blurb) \
17  sfi_pspec_int (name, nick, blurb, BSE_KAMMER_OCTAVE, \
18  BSE_MIN_OCTAVE, BSE_MAX_OCTAVE, 2, SFI_PARAM_STANDARD)
19 #define bse_pspec_note(name, nick, blurb, default_value, hints) \
20  sfi_pspec_note (name, nick, blurb, default_value, SFI_MIN_NOTE, SFI_MAX_NOTE, FALSE, hints)
21 #define bse_pspec_note_simple(name, nick, blurb, hints) \
22  bse_pspec_note (name, nick, blurb, SFI_KAMMER_NOTE, hints)
23 
24 /* --- BSE format changes --- */
25 gchar* bse_compat_rewrite_type_name (BseStorage *storage,
26  const gchar *type_name);
27 gchar* bse_compat_rewrite_ichannel_ident (BseStorage *storage,
28  const gchar *type_name,
29  const gchar *ichannel_ident);
30 gchar* bse_compat_rewrite_ochannel_ident (BseStorage *storage,
31  const gchar *type_name,
32  const gchar *ochannel_ident);
33 
34 
35 #endif /* __BSE_COMPAT_H__ */
Definition: bsestorage.hh:45