From 4f1ee28d687d583601d41ff58e1618b381d2675f Mon Sep 17 00:00:00 2001 From: Katja Date: Sun, 6 Nov 2011 14:41:44 +0000 Subject: made creb compliant with double precision - changed float to t_float - adapted subnormal detection svn path=/trunk/externals/creb/; revision=15706 --- modules/fdn~.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/fdn~.c') 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 #include -#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; -- cgit v1.2.1