aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/fldsp.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-03-13 04:56:40 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-03-13 04:56:40 +0000
commit9026ea4981dd69959341b3f646ed26a7fd9b9f5b (patch)
tree175b729c3721fbbf201d35a7043dcfda1da2d97c /externals/grill/flext/source/fldsp.h
parent6ff61d35633695bd356bf8d9bb59e2b8294de4f7 (diff)
fixes for attribute editor (to deal with large dialogs)
fix for gcc strangeness eliminated ChannelsIn/ChannelsOut moved ShouldExit to flext namespace new naming for some virtual callback functions fix for flext_dsp @ Max svn path=/trunk/; revision=2621
Diffstat (limited to 'externals/grill/flext/source/fldsp.h')
-rw-r--r--externals/grill/flext/source/fldsp.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/externals/grill/flext/source/fldsp.h b/externals/grill/flext/source/fldsp.h
index a9452aa6..1ba21ef1 100644
--- a/externals/grill/flext/source/fldsp.h
+++ b/externals/grill/flext/source/fldsp.h
@@ -51,6 +51,12 @@ public:
//! returns current block (aka vector) size
int Blocksize() const { return blksz; }
+ //! returns array of input vectors (CntInSig() vectors)
+ t_sample *const *InSig() const { return invecs; }
+
+ //! returns array of output vectors (CntOutSig() vectors)
+ t_sample *const *OutSig() const { return outvecs; }
+
//! typedef describing a signal vector
#if FLEXT_SYS == FLEXT_SYS_JMAX
typedef fts_symbol_t t_signalvec;
@@ -68,15 +74,28 @@ public:
*/
/*! \brief Called on every dsp init.
\note Don't expect any valid data in the signal vectors!
+ flext_dsp::CbDsp should not be called by the derived class
+
+ \return true (default)... use DSP, false, don't use DSP
+ */
+ virtual bool CbDsp();
+
+ /*! \brief Called with every signal vector - here you do the dsp calculation
+ flext_dsp::CbSignal fills all output vectors with silence
+ */
+ virtual void CbSignal();
+
+ /*! \brief Deprecated method for CbSignal
+ \deprecated
\param n: frames (aka samples) in one signal vector
\param insigs: array of input vectors (get number with function CntInSig())
\param outsigs: array of output vectors (get number with function CntOutSig())
*/
virtual void m_dsp(int n,t_signalvec const *insigs,t_signalvec const *outsigs);
- /*! \brief Called with every signal vector - here you do the dsp calculation
-
+ /*! \brief Deprecated method for CbSignal
+ \deprecated
\param n: frames (aka samples) in one signal vector
\param insigs: array of input vectors (get number with function CntInSig())
\param outsigs: array of output vectors (get number with function CntOutSig())