aboutsummaryrefslogtreecommitdiff
path: root/modules/fdn~.c
diff options
context:
space:
mode:
authorKatja <katjav@users.sourceforge.net>2011-11-06 14:41:44 +0000
committerKatja <katjav@users.sourceforge.net>2011-11-06 14:41:44 +0000
commit4f1ee28d687d583601d41ff58e1618b381d2675f (patch)
treeeb9df33c9928ec11de287a1d70ec714c9a3b9f7c /modules/fdn~.c
parent4a05094c9a009707674c079c0481eaf8e1f8490f (diff)
made creb compliant with double precision
- changed float to t_float - adapted subnormal detection svn path=/trunk/externals/creb/; revision=15706
Diffstat (limited to 'modules/fdn~.c')
-rw-r--r--modules/fdn~.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/fdn~.c b/modules/fdn~.c
index 68a7723..3eef988 100644
--- a/modules/fdn~.c
+++ b/modules/fdn~.c
@@ -32,7 +32,7 @@ check filtering code
#include <stdio.h>
#include <string.h>
-#define FDN_MIN_DECAY_TIME .01f
+#define FDN_MIN_DECAY_TIME .01
/*
@@ -330,8 +330,8 @@ static void fdn_setupdelayline(t_fdn *x){
int mask = x->x_ctl.c_bufsize - 1;
int start = x->x_ctl.c_tap[0];
t_int *tap = x->x_ctl.c_tap;
- float *length = x->x_ctl.c_length;
- float scale = sys_getsr() * .001f;
+ t_float *length = x->x_ctl.c_length;
+ t_float scale = sys_getsr() * .001f;
sum = 0;
tap[0] = (start & mask);
@@ -350,7 +350,7 @@ static void fdn_setupdelayline(t_fdn *x){
static void fdn_list (t_fdn *x, t_symbol *s, int argc, t_atom *argv){
int i;
- float l;
+ t_float l;
int sum=0;
int order = argc & 0xfffffffc;