BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bsefreeverbcpp.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_FREE_VERB_CPP_H__
00003 #define __BSE_FREE_VERB_CPP_H__
00004 
00005 #include <glib.h>
00006 
00007 G_BEGIN_DECLS
00008 
00009 typedef struct
00010 {
00011   /* runtime parameters */
00012   gfloat room_size;
00013   gfloat damp;
00014   gfloat wet;
00015   gfloat dry;
00016   gfloat width;
00017 } BseFreeVerbConfig;
00018 typedef struct
00019 {
00020   /* constants */
00021   gfloat room_offset;
00022   gfloat room_scale;
00023   gfloat damp_scale;
00024   gfloat wet_scale;
00025   gfloat dry_scale;
00026   gfloat width_scale;
00027 } BseFreeVerbConstants;
00028 typedef struct
00029 {
00030   gpointer obj;
00031   BseFreeVerbConfig saved_config;
00032 } BseFreeVerbCpp;
00033 
00034 void   bse_free_verb_cpp_create         (BseFreeVerbCpp         *cpp);
00035 void   bse_free_verb_cpp_configure      (BseFreeVerbCpp         *cpp,
00036                                          BseFreeVerbConfig      *config);
00037 void   bse_free_verb_cpp_process        (BseFreeVerbCpp         *cpp,
00038                                          guint                   n_values,
00039                                          const gfloat           *ileft,
00040                                          const gfloat           *iright,
00041                                          gfloat                 *oleft,
00042                                          gfloat                 *oright);
00043 void   bse_free_verb_cpp_destroy        (BseFreeVerbCpp         *cpp);
00044 void   bse_free_verb_cpp_defaults       (BseFreeVerbConfig      *config,
00045                                          BseFreeVerbConstants   *constants);
00046 void   bse_free_verb_cpp_save_config    (BseFreeVerbCpp         *cpp,
00047                                          BseFreeVerbConfig      *config);
00048 void   bse_free_verb_cpp_restore_config (BseFreeVerbCpp         *cpp,
00049                                          BseFreeVerbConfig      *config);
00050 
00051 
00052 G_END_DECLS
00053 
00054 
00055 #endif /* __BSE_FREE_VERB_CPP_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines