BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
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 G_BEGIN_DECLS
8 
9 
10 /* --- parameter changes --- */
11 #define bse_param_spec_genum(name,nick,blurb, genum_type, default_value, hints) \
12  bse_param_spec_enum (name,nick,blurb, default_value, genum_type, hints)
13 #define bse_param_spec_freq_simple(name, nick, blurb, hints) \
14  bse_param_spec_freq (name, nick, blurb, BSE_KAMMER_FREQUENCY, BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY, hints)
15 #define bse_param_spec_fine_tune(name, nick, blurb) \
16  sfi_pspec_int (name, nick, blurb, 0, BSE_MIN_FINE_TUNE, BSE_MAX_FINE_TUNE, 10, \
17  "scale:" SFI_PARAM_STANDARD)
18 #define bse_param_spec_octave(name, nick, blurb) \
19  sfi_pspec_int (name, nick, blurb, BSE_KAMMER_OCTAVE, \
20  BSE_MIN_OCTAVE, BSE_MAX_OCTAVE, 2, SFI_PARAM_STANDARD)
21 #define bse_pspec_note(name, nick, blurb, default_value, hints) \
22  sfi_pspec_note (name, nick, blurb, default_value, SFI_MIN_NOTE, SFI_MAX_NOTE, FALSE, hints)
23 #define bse_pspec_note_simple(name, nick, blurb, hints) \
24  bse_pspec_note (name, nick, blurb, SFI_KAMMER_NOTE, hints)
25 
26 /* --- BSE format changes --- */
27 gchar* bse_compat_rewrite_type_name (BseStorage *storage,
28  const gchar *type_name);
29 gchar* bse_compat_rewrite_ichannel_ident (BseStorage *storage,
30  const gchar *type_name,
31  const gchar *ichannel_ident);
32 gchar* bse_compat_rewrite_ochannel_ident (BseStorage *storage,
33  const gchar *type_name,
34  const gchar *ochannel_ident);
35 
36 
37 G_END_DECLS
38 
39 #endif /* __BSE_COMPAT_H__ */
Definition: bsestorage.hh:49