2 #ifndef __BSE_COMPAT_H__
3 #define __BSE_COMPAT_H__
11 #define bse_param_spec_genum(name,nick,blurb, genum_type, default_value, hints) \
12 bse_param_spec_enum (name,nick,blurb, int (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)
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);
Definition: bsestorage.hh:49