From 84231a000a4f06e34efa0d3700377dd3cc447e0b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 4 Oct 2012 22:24:37 +0000 Subject: 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 --- dentist~.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dentist~.c') diff --git a/dentist~.c b/dentist~.c index e9cb8fe..50c5ec1 100644 --- a/dentist~.c +++ b/dentist~.c @@ -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); -- cgit v1.2.1