BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bsecompat.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __BSE_COMPAT_H__
00003 #define __BSE_COMPAT_H__
00004 
00005 #include        <bse/bseenums.hh>
00006 
00007 G_BEGIN_DECLS
00008 
00009 
00010 /* --- parameter changes --- */
00011 #define bse_param_spec_genum(name,nick,blurb, genum_type, default_value, hints) \
00012    bse_param_spec_enum (name,nick,blurb, default_value, genum_type, hints)
00013 #define bse_param_spec_freq_simple(name, nick, blurb, hints) \
00014   bse_param_spec_freq (name, nick, blurb, BSE_KAMMER_FREQUENCY, BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY, hints)
00015 #define bse_param_spec_fine_tune(name, nick, blurb)     \
00016   sfi_pspec_int (name, nick, blurb, 0, BSE_MIN_FINE_TUNE, BSE_MAX_FINE_TUNE, 10, \
00017                  "scale:" SFI_PARAM_STANDARD)
00018 #define bse_param_spec_octave(name, nick, blurb)        \
00019   sfi_pspec_int (name, nick, blurb, BSE_KAMMER_OCTAVE, \
00020                  BSE_MIN_OCTAVE, BSE_MAX_OCTAVE, 2, SFI_PARAM_STANDARD)
00021 #define bse_pspec_note(name, nick, blurb, default_value, hints) \
00022   sfi_pspec_note (name, nick, blurb, default_value, SFI_MIN_NOTE, SFI_MAX_NOTE, FALSE, hints)
00023 #define bse_pspec_note_simple(name, nick, blurb, hints) \
00024   bse_pspec_note (name, nick, blurb, SFI_KAMMER_NOTE, hints)
00025 
00026 /* --- BSE format changes --- */
00027 gchar*  bse_compat_rewrite_type_name            (BseStorage    *storage,
00028                                                  const gchar   *type_name);
00029 gchar*  bse_compat_rewrite_ichannel_ident       (BseStorage    *storage,
00030                                                  const gchar   *type_name,
00031                                                  const gchar   *ichannel_ident);
00032 gchar*  bse_compat_rewrite_ochannel_ident       (BseStorage    *storage,
00033                                                  const gchar   *type_name,
00034                                                  const gchar   *ochannel_ident);
00035 
00036 
00037 G_END_DECLS
00038 
00039 #endif /* __BSE_COMPAT_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines