Update of /cvsroot/pure-data/externals/grill/dyn/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28744/src
Modified Files: main.cpp Log Message: ""
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/dyn/src/main.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main.cpp 30 Dec 2003 01:02:03 -0000 1.10 --- main.cpp 21 Jun 2004 14:06:53 -0000 1.11 *************** *** 3,7 **** dyn~ - dynamical object management for PD
! Copyright (c) 2003 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. --- 3,7 ---- dyn~ - dynamical object management for PD
! Copyright (c)2003-2004 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. *************** *** 14,22 **** #include <flext.h>
! #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 405) ! #error You need at least flext version 0.4.5 #endif
! #define DYN_VERSION "0.1.0"
--- 14,22 ---- #include <flext.h>
! #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 406) ! #error You need at least flext version 0.4.6 #endif
! #define DYN_VERSION "0.1.1pre"
*************** *** 97,101 **** void init(dyn *t);
! static void px_exit(proxy *px) { if(px->buf) delete[] px->buf; } };
--- 97,101 ---- void init(dyn *t);
! static void px_exit(proxy *px) { if(px->buf) FreeAligned(px->buf); } };
*************** *** 686,690 **** }
- void dyn::proxyin::dsp(proxyin *x,t_signal **sp) { --- 686,689 ---- *************** *** 692,697 **** if(n != x->n) { // if vector size has changed make new buffer ! if(x->buf) delete[] x->buf; ! x->buf = new t_sample[x->n = n]; } dsp_add_copy(x->buf,sp[0]->s_vec,n); --- 691,696 ---- if(n != x->n) { // if vector size has changed make new buffer ! if(x->buf) FreeAligned(x->buf); ! x->buf = (t_sample *)NewAligned(sizeof(t_sample)*(x->n = n)); } dsp_add_copy(x->buf,sp[0]->s_vec,n); *************** *** 712,717 **** if(n != x->n) { // if vector size has changed make new buffer ! if(x->buf) delete[] x->buf; ! x->buf = new t_sample[x->n = n]; } dsp_add_copy(sp[0]->s_vec,x->buf,n); --- 711,716 ---- if(n != x->n) { // if vector size has changed make new buffer ! if(x->buf) FreeAligned(x->buf); ! x->buf = (t_sample *)NewAligned(sizeof(t_sample)*(x->n = n)); } dsp_add_copy(sp[0]->s_vec,x->buf,n);