From 04f532cbafb61361711acb8d3f327eabf2068c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 22 Feb 2012 11:26:39 +0000 Subject: fixes to make it compile on MSVC svn path=/trunk/externals/iem/iemmatrix/; revision=16023 --- src/mtx_dispersive_dline.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mtx_dispersive_dline.c') diff --git a/src/mtx_dispersive_dline.c b/src/mtx_dispersive_dline.c index e180075..a016336 100644 --- a/src/mtx_dispersive_dline.c +++ b/src/mtx_dispersive_dline.c @@ -153,7 +153,7 @@ static allpass_chain_cycle (t_float x, t_float *y, t_float *z, int n, t_float a) } } -static mtx_dispersive_dline_matrix(t_mtx_dispersive_dline *x, t_symbol *s, +static void mtx_dispersive_dline_matrix(t_mtx_dispersive_dline *x, t_symbol *s, int argc, t_atom *argv) { int channels=(int)atom_getfloat(argv); @@ -194,10 +194,12 @@ static void mtx_dispersive_dline_helper(void) static void *mtx_dispersive_dline_new(t_symbol *s, int argc, t_atom *argv) { t_mtx_dispersive_dline *x = (t_mtx_dispersive_dline *)pd_new(mtx_dispersive_dline_class); - x->list_outlet = outlet_new(&x->x_obj, &s_list); t_float length=1; t_float lambda=0; t_atom resize_msg[2]; + + x->list_outlet = outlet_new(&x->x_obj, &s_list); + switch ((argc>2)?2:argc) { case 2: -- cgit v1.2.1