diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-15 04:37:19 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-15 04:37:19 +0000 |
commit | b00be027fe91e9ae5a19f53b6c1fd0245b4d4bae (patch) | |
tree | 2dd7ab22251e324b6d0f9167d3d32ed6e911a343 /externals/grill/fftease/src/main.h | |
parent | e62722bf0bba2ddb1b8558fa4c851c9e79dddf6c (diff) |
""
svn path=/trunk/; revision=339
Diffstat (limited to 'externals/grill/fftease/src/main.h')
-rw-r--r-- | externals/grill/fftease/src/main.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/externals/grill/fftease/src/main.h b/externals/grill/fftease/src/main.h index 6dbddf7e..d9746c71 100644 --- a/externals/grill/fftease/src/main.h +++ b/externals/grill/fftease/src/main.h @@ -37,4 +37,51 @@ WARRANTIES, see the file, "license.txt," in this distribution. #define S t_sample + +class fftease: + public flext_dsp +{ + FLEXT_HEADER_S(fftease,flext_dsp,setup) + +public: + fftease(I mult,BL stereo,BL window,BL bitshuf); + virtual ~fftease(); + +protected: + + virtual BL Init(); + virtual V Exit(); + + virtual V m_dsp(I n,S *const *in,S *const *out); + virtual V m_signal(I n,S *const *in,S *const *out); + + virtual V Set(); + virtual V Clear(); + virtual V Delete(); + virtual V Transform(I _N2,S *const *in) = 0; + + I Mult() const { return _mult; } + + F *_input1,*_input2; + F *_buffer1,*_buffer2; + F *_channel1,*_channel2; + F *_output; + F *_trigland; + I *_bitshuffle; + F *_Wanal,*_Wsyn,*_Hwin; + + I _inCount; + + I _mult; + BL _stereo,_window,_bitshuf; + +private: + I blsz; + F smprt; + + static V setup(t_classid c) {} + +}; + + #endif |