diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2006-05-29 10:19:27 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2006-05-29 10:19:27 +0000 |
commit | 55fcd829cd66c6482ca5d2524c11f49e3ba883cf (patch) | |
tree | afaeeba00d17e581ed8456ef0e4fe2e61c0a5a87 /externals/grill/flext/source/fldsp.h | |
parent | 8495e66d1bcfd5a9ea6a183adc2e1a270550cfa8 (diff) |
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
Diffstat (limited to 'externals/grill/flext/source/fldsp.h')
-rw-r--r-- | externals/grill/flext/source/fldsp.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 |