aboutsummaryrefslogtreecommitdiff
path: root/tbext
diff options
context:
space:
mode:
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;
}