From c0095d770a248baeb0f403a7c9fc13ecf6b19868 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 3 Jan 2015 14:25:31 +0000 Subject: completes the 64-pit support started with rev 17393, also adds a log message with version number to each changed object. svn path=/trunk/externals/miXed/; revision=17397 --- cyclone/sickle/buffir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cyclone/sickle/buffir.c') diff --git a/cyclone/sickle/buffir.c b/cyclone/sickle/buffir.c index 13eee79..b3abd0e 100644 --- a/cyclone/sickle/buffir.c +++ b/cyclone/sickle/buffir.c @@ -4,6 +4,7 @@ #include #include "m_pd.h" +#include "shared.h" #include "common/loud.h" #include "common/fitter.h" #include "sickle/sic.h" @@ -116,7 +117,7 @@ static t_int *buffir_perform(t_int *w) t_float *oin = (t_float *)(w[4]); t_float *sin = (t_float *)(w[5]); int vecsize = sic->s_vecsize; - t_float *vec = sic->s_vectors[0]; /* playable implies nonzero (mono) */ + t_word *vec = sic->s_vectors[0]; /* playable implies nonzero (mono) */ int histsize = x->x_histsize; while (nblock--) { @@ -133,7 +134,8 @@ static t_int *buffir_perform(t_int *w) npoints = vecsize - off; if (npoints > 0) { - t_float *coefp = vec + off; +// t_float *coefp = vec + off; + t_float *coefp = &vec[0].w_float + off; t_float *hp = hihead; t_float sum = 0.; *lohead++ = *hihead++ = *xin++; @@ -212,4 +214,6 @@ void buffir_tilde_setup(void) class_addmethod(buffir_class, (t_method)buffir_set, gensym("set"), A_SYMBOL, A_DEFFLOAT, A_DEFFLOAT, 0); fitter_setup(buffir_class, 0); + logpost(NULL, 4, "this is cyclone/buffir~ %s, %dth %s build", + CYCLONE_VERSION, CYCLONE_BUILD, CYCLONE_RELEASE); } -- cgit v1.2.1