aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/fftease/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/fftease/src/main.h')
-rw-r--r--externals/grill/fftease/src/main.h47
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