Update of /cvsroot/pure-data/externals/grill/flext/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9515/source
Modified Files: fldsp.h flprefix.h Log Message: bugfixes and optimizations, especially for DSP under Max/MSP fixed dsp vector offset bug preprocessed class names now also reflect debug mode (to avoid name clashes)
Index: flprefix.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flprefix.h,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** flprefix.h 19 Jul 2005 23:08:33 -0000 1.35 --- flprefix.h 7 Oct 2005 12:58:48 -0000 1.36 *************** *** 367,376 **** #ifdef __DOXYGEN__ #define FLEXT_CLASSDEF(CL) CL ! #elif defined(FLEXT_SHARED) ! #define FLEXT_CLASSDEF(CL) CL##_shared ! #elif defined(FLEXT_THREADS) ! #define FLEXT_CLASSDEF(CL) CL##_multi #else ! #define FLEXT_CLASSDEF(CL) CL##_single #endif
--- 367,386 ---- #ifdef __DOXYGEN__ #define FLEXT_CLASSDEF(CL) CL ! #elif defined(FLEXT_DEBUG) ! #if defined(FLEXT_SHARED) ! #define FLEXT_CLASSDEF(CL) CL##_shared_d ! #elif defined(FLEXT_THREADS) ! #define FLEXT_CLASSDEF(CL) CL##_multi_d ! #else ! #define FLEXT_CLASSDEF(CL) CL##_single_d ! #endif #else ! #if defined(FLEXT_SHARED) ! #define FLEXT_CLASSDEF(CL) CL##_shared ! #elif defined(FLEXT_THREADS) ! #define FLEXT_CLASSDEF(CL) CL##_multi ! #else ! #define FLEXT_CLASSDEF(CL) CL##_single ! #endif #endif
Index: fldsp.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/fldsp.h,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** fldsp.h 26 Sep 2005 13:59:34 -0000 1.17 --- fldsp.h 7 Oct 2005 12:58:48 -0000 1.18 *************** *** 56,66 ****
//! returns input vector ! t_sample *InSig(int i) const { return vecs[i]; }
//! returns array of output vectors (CntOutSig() vectors) ! t_sample *const *OutSig() const { return vecs+CntInSig(); }
//! returns output vector ! t_sample *OutSig(int i) const { return vecs[CntInSig()+i]; }
//! typedef describing a signal vector --- 56,72 ----
//! returns input vector ! t_sample *InSig(int i) const { return InSig()[i]; }
//! returns array of output vectors (CntOutSig() vectors) ! // \todo cache that returned pointer ! t_sample *const *OutSig() const ! { ! int i = CntInSig(); ! // we have at least one actual dsp in vector ! return vecs+(i?i:1); ! }
//! returns output vector ! t_sample *OutSig(int i) const { return OutSig()[i]; }
//! typedef describing a signal vector