From 55fcd829cd66c6482ca5d2524c11f49e3ba883cf Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 29 May 2006 10:19:27 +0000 Subject: more robust structure pack setting for Max/MSP @ Windows attribute generation is now determined exclusively by the object class setup (not library as before). some minor changes after valgrind run - preprocessor symbol FLEXT_COMPATIBLE - if defined don't implement specialities of either PD or Max/MSP fixed bug for Max/MSP when there's no signal inlet - Max: fixed reported bug (#67), where list elements are distributed over inlets svn path=/trunk/; revision=5148 --- externals/grill/flext/source/fldsp.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'externals/grill/flext/source/fldsp.h') diff --git a/externals/grill/flext/source/fldsp.h b/externals/grill/flext/source/fldsp.h index 7004b891..f4c6f470 100644 --- a/externals/grill/flext/source/fldsp.h +++ b/externals/grill/flext/source/fldsp.h @@ -64,8 +64,14 @@ public: t_sample *const *OutSig() const { int i = CntInSig(); - // we have at least one actual dsp in vector + // in PD we have at least one actual dsp in vector +#if FLEXT_SYS == FLEXT_SYS_PD return vecs+(i?i:1); +#elif FLEXT_SYS == FLEXT_SYS_MAX + return vecs+i; +#else +#error +#endif } //! returns output vector -- cgit v1.2.1