diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-25 04:41:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-25 04:41:32 +0000 |
commit | c1313aea8746276cc4de4dbd177f6bf732db2a05 (patch) | |
tree | ac6763662109772ba7069488cccd5ff4d72d328a /externals/grill/fftease/src | |
parent | e1bdd67199e389a5ba7eb03ecff171058c37a467 (diff) |
""
svn path=/trunk/; revision=361
Diffstat (limited to 'externals/grill/fftease/src')
-rw-r--r-- | externals/grill/fftease/src/burrow~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/dentist~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/disarray~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/ether~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/fftease.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/leanconvert.c | 4 | ||||
-rw-r--r-- | externals/grill/fftease/src/main.h | 7 | ||||
-rw-r--r-- | externals/grill/fftease/src/morphine~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/shapee~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/swinger~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/taint~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/thresher~.cpp | 4 | ||||
-rw-r--r-- | externals/grill/fftease/src/vacancy~.cpp | 2 | ||||
-rw-r--r-- | externals/grill/fftease/src/xsyn~.cpp | 2 |
14 files changed, 17 insertions, 20 deletions
diff --git a/externals/grill/fftease/src/burrow~.cpp b/externals/grill/fftease/src/burrow~.cpp index 36873a5d..1e42c656 100644 --- a/externals/grill/fftease/src/burrow~.cpp +++ b/externals/grill/fftease/src/burrow~.cpp @@ -88,7 +88,7 @@ burrow::burrow(I argc,const t_atom *argv): } -V burrow::Transform(I _N,S *const *in) +V burrow::Transform(I _N,S *const *) { register const F thr = _threshold,mul = _multiplier; diff --git a/externals/grill/fftease/src/dentist~.cpp b/externals/grill/fftease/src/dentist~.cpp index 3cdcfd90..59d56780 100644 --- a/externals/grill/fftease/src/dentist~.cpp +++ b/externals/grill/fftease/src/dentist~.cpp @@ -123,7 +123,7 @@ V dentist::Set() ms_knee(_knee); } -V dentist::Transform(I _N,S *const *in) +V dentist::Transform(I _N,S *const *) { const BL *bs = _bin_selection; for(I i = 0; i < _N ; i += 2) diff --git a/externals/grill/fftease/src/disarray~.cpp b/externals/grill/fftease/src/disarray~.cpp index 01e67226..3fe290b1 100644 --- a/externals/grill/fftease/src/disarray~.cpp +++ b/externals/grill/fftease/src/disarray~.cpp @@ -134,7 +134,7 @@ V disarray::ms_freq(F f) inline V swap(F &a,F &b) { F t = a; a = b; b = t; } inline V swap(I &a,I &b) { I t = a; a = b; b = t; } -V disarray::Transform(I _N,S *const *in) +V disarray::Transform(I _N,S *const *) { I shcnt = _shuffle_count; if(shcnt < 0) shcnt = 0; diff --git a/externals/grill/fftease/src/ether~.cpp b/externals/grill/fftease/src/ether~.cpp index 80cd2df2..0e9803f0 100644 --- a/externals/grill/fftease/src/ether~.cpp +++ b/externals/grill/fftease/src/ether~.cpp @@ -66,7 +66,7 @@ ether::ether(I argc,const t_atom *argv): } -V ether::Transform(I _N,S *const *in) +V ether::Transform(I _N,S *const *) { const BL inv = _invert; const F threshMult = _threshMult?_threshMult:1; diff --git a/externals/grill/fftease/src/fftease.cpp b/externals/grill/fftease/src/fftease.cpp index 23d07491..378ae8ce 100644 --- a/externals/grill/fftease/src/fftease.cpp +++ b/externals/grill/fftease/src/fftease.cpp @@ -33,7 +33,7 @@ V fftease::Exit() Delete(); } -V fftease::m_dsp(I n,S *const *in,S *const *out) +V fftease::m_dsp(I n,S *const *,S *const *) { const I _D = n; const F sr = Samplerate(); diff --git a/externals/grill/fftease/src/leanconvert.c b/externals/grill/fftease/src/leanconvert.c index 0c567ca8..d121d896 100644 --- a/externals/grill/fftease/src/leanconvert.c +++ b/externals/grill/fftease/src/leanconvert.c @@ -5,8 +5,8 @@ void leanconvert( float *S, float *C, int N2 , int amp, int ph) #if 1 register int i; - float a = fabs(S[0]); // real value at f=0 - float b = fabs(S[1]); // real value at f=Nyquist + float a = fabs(S[0]); /* real value at f=0 */ + float b = fabs(S[1]); /* real value at f=Nyquist */ C[0] = a; C[1] = 0; diff --git a/externals/grill/fftease/src/main.h b/externals/grill/fftease/src/main.h index 9f016115..18a36bc0 100644 --- a/externals/grill/fftease/src/main.h +++ b/externals/grill/fftease/src/main.h @@ -41,7 +41,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. class fftease: public flext_dsp { - FLEXT_HEADER_S(fftease,flext_dsp,setup) + FLEXT_HEADER(fftease,flext_dsp) public: fftease(I mult,I flags); @@ -91,7 +91,7 @@ protected: F_NOAMP1 = 0x100, F_NOPH1 = 0x200, F_NOAMP2 = 0x400, - F_NOPH2 = 0x800, + F_NOPH2 = 0x800 }; I _flags; @@ -104,9 +104,6 @@ private: I blsz; F smprt; I _mult,_N; - - static V setup(t_classid c) {} - }; diff --git a/externals/grill/fftease/src/morphine~.cpp b/externals/grill/fftease/src/morphine~.cpp index 23c2cca9..813629ab 100644 --- a/externals/grill/fftease/src/morphine~.cpp +++ b/externals/grill/fftease/src/morphine~.cpp @@ -93,7 +93,7 @@ I morphine::sortpicks( const void *a, const void *b ) return 0; } -V morphine::Transform(I _N,S *const *in) +V morphine::Transform(I _N,S *const *) { const I _N2 = _N/2; I i; diff --git a/externals/grill/fftease/src/shapee~.cpp b/externals/grill/fftease/src/shapee~.cpp index b42ba46f..657a646b 100644 --- a/externals/grill/fftease/src/shapee~.cpp +++ b/externals/grill/fftease/src/shapee~.cpp @@ -56,7 +56,7 @@ shapee::shapee(I argc,const t_atom *argv): #define THRESH 0.000001 -V shapee::Transform(I _N,S *const *in) +V shapee::Transform(I _N,S *const *) { // lets just shape the entire signal in groups of three diff --git a/externals/grill/fftease/src/swinger~.cpp b/externals/grill/fftease/src/swinger~.cpp index 143bf5de..1f0cc21a 100644 --- a/externals/grill/fftease/src/swinger~.cpp +++ b/externals/grill/fftease/src/swinger~.cpp @@ -58,7 +58,7 @@ swinger::swinger(I argc,const t_atom *argv): } -V swinger::Transform(I _N,S *const *in) +V swinger::Transform(I _N,S *const *) { for (I i = 0; i <= _N; i += 2) _channel1[i+1] = _channel2[i+1]; } diff --git a/externals/grill/fftease/src/taint~.cpp b/externals/grill/fftease/src/taint~.cpp index 82c38f0e..797b2d5d 100644 --- a/externals/grill/fftease/src/taint~.cpp +++ b/externals/grill/fftease/src/taint~.cpp @@ -74,7 +74,7 @@ taint::taint(I argc,const t_atom *argv): } -V taint::Transform(I _N,S *const *in) +V taint::Transform(I _N,S *const *) { register const F thr = _threshold; diff --git a/externals/grill/fftease/src/thresher~.cpp b/externals/grill/fftease/src/thresher~.cpp index 98c02eb1..29b042be 100644 --- a/externals/grill/fftease/src/thresher~.cpp +++ b/externals/grill/fftease/src/thresher~.cpp @@ -41,7 +41,7 @@ private: FLEXT_LIB_DSP("fftease, thresher~ nacho~",thresher) -V thresher::setup(t_classid c) +V thresher::setup(t_classid ) { } @@ -84,7 +84,7 @@ thresher::thresher(): } -V thresher::Transform(I _N,S *const *in) +V thresher::Transform(I _N,S *const *) { I *fr = _framesLeft; if( _firstFrame ) { diff --git a/externals/grill/fftease/src/vacancy~.cpp b/externals/grill/fftease/src/vacancy~.cpp index 881a3ca2..9c4b7eb2 100644 --- a/externals/grill/fftease/src/vacancy~.cpp +++ b/externals/grill/fftease/src/vacancy~.cpp @@ -94,7 +94,7 @@ vacancy::vacancy(I argc,const t_atom *argv): } -V vacancy::Transform(I _N,S *const *in) +V vacancy::Transform(I _N,S *const *) { const F useme = _useRms?_rms * _threshold:_threshold; diff --git a/externals/grill/fftease/src/xsyn~.cpp b/externals/grill/fftease/src/xsyn~.cpp index 89e84868..cab487c9 100644 --- a/externals/grill/fftease/src/xsyn~.cpp +++ b/externals/grill/fftease/src/xsyn~.cpp @@ -36,7 +36,7 @@ xsyn::xsyn(): } -V xsyn::Transform(I _N,S *const *in) +V xsyn::Transform(I _N,S *const *) { F maxamp = 0; I i; |