From 4a05094c9a009707674c079c0481eaf8e1f8490f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 8 Oct 2011 17:22:41 +0000 Subject: converted float to t_float to support double-precision Pd, creb still needs to separate t_float and t_sample tho svn path=/trunk/externals/creb/; revision=15546 --- modules/junction~.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/junction~.c') diff --git a/modules/junction~.c b/modules/junction~.c index 71476da..8ffd801 100644 --- a/modules/junction~.c +++ b/modules/junction~.c @@ -101,7 +101,7 @@ static t_int *junction_perform(t_int *w) mayer_realfft(c, buf); for (j=1; jx_ctl.c_channels; - float norm; + t_float norm; for (i=0;ix_obj, &x->x_obj.ob_pd, gensym("signal"), gensym("signal")); for (i=0;ix_obj, gensym("signal")); - x->x_ctl.c_in = (float **)malloc(n*sizeof(float *)); - x->x_ctl.c_out = (float **)malloc(n*sizeof(float *)); - x->x_ctl.c_buffer = (float *)malloc(n*sizeof(float)); - x->x_ctl.c_coef = (float *)malloc(n*sizeof(float)); + x->x_ctl.c_in = (t_float **)malloc(n*sizeof(t_float *)); + x->x_ctl.c_out = (t_float **)malloc(n*sizeof(t_float *)); + x->x_ctl.c_buffer = (t_float *)malloc(n*sizeof(t_float)); + x->x_ctl.c_coef = (t_float *)malloc(n*sizeof(t_float)); x->x_ctl.c_channels = n; junction_bang(x); -- cgit v1.2.1