aboutsummaryrefslogtreecommitdiff
path: root/dentist~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-04 22:24:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-04 22:24:37 +0000
commit84231a000a4f06e34efa0d3700377dd3cc447e0b (patch)
tree9cec4db39062de619d61c9197fa7dfc5708bc059 /dentist~.c
parentb418fb91e7bb45d7b5f1eb8b19703441ae94eb13 (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~.c8
1 files changed, 4 insertions, 4 deletions
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);