Update of /cvsroot/pure-data/externals/frankenstein In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv349
Modified Files: ritmo1.c Log Message: fixing dumb errors
Index: ritmo1.c =================================================================== RCS file: /cvsroot/pure-data/externals/frankenstein/ritmo1.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ritmo1.c 13 Dec 2005 17:19:29 -0000 1.2 --- ritmo1.c 13 Dec 2005 17:22:34 -0000 1.3 *************** *** 30,34 **** freebytes(x->buf1, sizeof(x->buf1)); // freebytes(x->buf2, sizeof(x->buf2)); ! // freebytes(x->buf3, sizeof(x->buf3));}
static void ritmo1_bang(t_ritmo1 *x) { --- 30,35 ---- freebytes(x->buf1, sizeof(x->buf1)); // freebytes(x->buf2, sizeof(x->buf2)); ! // freebytes(x->buf3, sizeof(x->buf3)); ! }
static void ritmo1_bang(t_ritmo1 *x) { *************** *** 63,67 **** { // vecdest[i] = (x->buf1[i] + x->buf2[i] + x->buf3[i] + vecsrc[i])/4; ! vecdest[i] = (x->buf1[i] vecsrc[i])/2; } // redraw the arrays --- 64,68 ---- { // vecdest[i] = (x->buf1[i] + x->buf2[i] + x->buf3[i] + vecsrc[i])/4; ! vecdest[i] = (x->buf1[i] + vecsrc[i])/2; } // redraw the arrays