diff options
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 |