diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-04 22:24:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-04 22:24:37 +0000 |
commit | 84231a000a4f06e34efa0d3700377dd3cc447e0b (patch) | |
tree | 9cec4db39062de619d61c9197fa7dfc5708bc059 /dentist~.c | |
parent | b418fb91e7bb45d7b5f1eb8b19703441ae94eb13 (diff) |
took FFTease2.5_Pd_OSX.zip and unpacked it into a Library Template layout
original source:
http://www.somasa.qub.ac.uk/~elyon/LyonSoftware/MaxMSP/FFTease/FFTease2.5_Pd_OSX.zip
svn path=/trunk/externals/fftease/; revision=16331
Diffstat (limited to 'dentist~.c')
-rw-r--r-- | dentist~.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -174,7 +174,7 @@ void dentist_free(t_dentist *x) void dentist_overlap(t_dentist *x, t_floatarg f)
{
int o = (int)f;
- if(!power_of_two(o)){
+ if(!fftease_power_of_two(o)){
error("%d is not a power of two",o);
return;
}
@@ -185,7 +185,7 @@ int o = (int)f; void dentist_winfac(t_dentist *x, t_floatarg f)
{
int w = (int)f;
- if(!power_of_two(w)){
+ if(!fftease_power_of_two(w)){
error("%d is not a power of two",w);
return;
}
@@ -254,9 +254,9 @@ void *dentist_new(t_symbol *msg, short argc, t_atom *argv) x->topfreq = atom_getfloatarg(0,argc,argv);
x->overlap = atom_getfloatarg(1,argc,argv);
x->winfac = atom_getfloatarg(2,argc,argv);
- if(!power_of_two(x->overlap))
+ if(!fftease_power_of_two(x->overlap))
x->overlap = 4;
- if(!power_of_two(x->winfac))
+ if(!fftease_power_of_two(x->winfac))
x->winfac = 1;
dentist_init(x,0);
|