BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __BSE_ATAN_DISTORT_H__ 00003 #define __BSE_ATAN_DISTORT_H__ 00004 00005 #include <bse/bseplugin.hh> 00006 #include <bse/bsesource.hh> 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif /* __cplusplus */ 00011 00012 00013 /* --- object type macros --- */ 00014 #define BSE_TYPE_ATAN_DISTORT (bse_atan_distort_get_type()) 00015 #define BSE_ATAN_DISTORT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_ATAN_DISTORT, BseAtanDistort)) 00016 #define BSE_ATAN_DISTORT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_ATAN_DISTORT, BseAtanDistortClass)) 00017 #define BSE_IS_ATAN_DISTORT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_ATAN_DISTORT)) 00018 #define BSE_IS_ATAN_DISTORT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_ATAN_DISTORT)) 00019 #define BSE_ATAN_DISTORT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_ATAN_DISTORT, BseAtanDistortClass)) 00020 00021 struct BseAtanDistort : BseSource { 00022 float boost_amount; 00023 double prescale; 00024 }; 00025 struct BseAtanDistortClass : BseSourceClass 00026 {}; 00027 00028 enum 00029 { 00030 BSE_ATAN_DISTORT_ICHANNEL_MONO1, 00031 BSE_ATAN_DISTORT_N_ICHANNELS 00032 }; 00033 enum 00034 { 00035 BSE_ATAN_DISTORT_OCHANNEL_MONO1, 00036 BSE_ATAN_DISTORT_N_OCHANNELS 00037 }; 00038 00039 00040 00041 #ifdef __cplusplus 00042 } 00043 #endif /* __cplusplus */ 00044 00045 #endif /* __BSE_ATAN_DISTORT_H__ */