From e1bdd67199e389a5ba7eb03ecff171058c37a467 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 23 Jan 2003 08:53:05 +0000 Subject: "" svn path=/trunk/; revision=357 --- externals/grill/fftease/src/main.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'externals/grill/fftease/src/main.h') diff --git a/externals/grill/fftease/src/main.h b/externals/grill/fftease/src/main.h index de2356ad..9f016115 100644 --- a/externals/grill/fftease/src/main.h +++ b/externals/grill/fftease/src/main.h @@ -50,7 +50,7 @@ public: static F FromdB(F v) { return pow(10.,v*.05); } inline I get_N() const { return _N; } - inline F get_Fund() const { return smprt/(_N*2); } + inline F get_Fund() const { return smprt/_N; } protected: @@ -77,14 +77,17 @@ protected: I *_bitshuffle; F *_Wanal,*_Wsyn,*_Hwin; + F *_c_lastphase_in1,*_c_lastphase_in2,*_c_lastphase_out; + F _c_factor_in; + I _inCount; enum { F_STEREO = 0x01, F_BALANCED = 0x02, F_BITSHUFFLE = 0x04, - F_NOSPEC = 0x08,F_SPECRES = 0x10, - F_RMS = 0x20, + F_RMS = 0x08, + F_NOSPEC = 0x10,F_SPECRES = 0x20,F_PHCONV = 0x40, F_NOAMP1 = 0x100, F_NOPH1 = 0x200, F_NOAMP2 = 0x400, -- cgit v1.2.1