aboutsummaryrefslogtreecommitdiff
path: root/tbext
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2003-09-14 16:38:25 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:53 +0200
commit5cc947f46350f347575cc61df0e3c07c6458542b (patch)
tree7b9029c87e9131ecc902f006c7b4d7633299a33e /tbext
parent12c9210a8592cf46616d453dda02f5ea56c44cc4 (diff)
*** empty log message ***
svn path=/trunk/externals/tb/; revision=962
Diffstat (limited to 'tbext')
-rw-r--r--tbext/source/tbfft1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbext/source/tbfft1.cpp b/tbext/source/tbfft1.cpp
index 8bff178..e941bfd 100644
--- a/tbext/source/tbfft1.cpp
+++ b/tbext/source/tbfft1.cpp
@@ -124,11 +124,11 @@ void tbfft1::set_freq(t_float freq)
b=Blocksize();
center=freq/(s/b);
- post("%i",int(center));
}
void tbfft1::set_fact(t_float f)
{
- factor=f;
+ if (f<2)
+ factor=f;
}