Commit 82c6b0e9 authored by thomas's avatar thomas
Browse files

fix for flext_dsp @ Max

eliminated ChannelsIn/ChannelsOut

git-svn-id: https://svn.grrrr.org/ext/trunk@1000 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent 750fadec
......@@ -29,9 +29,10 @@ Version history:
- removed virtual flext_dsp::m_enable function (which wasn't present for Max/MSP)
- added m_click method which gets called on alt-click (PD) resp. double clicks (Max) onto the object box
- in ToOut check if we are inside dsp (and use ToQueue then...)
- some restructuring and use symbols (rather the char *) natively for AddMethod* and AddAttrib* functions
- some restructuring and use symbols (rather than char *) natively for AddMethod* and AddAttrib* functions
- added some more SIMD functionality
- fixes to flext::Timer::At method
- eliminated misleading flext_dsp::ChannelsIn and ChannelsOut
0.4.7:
- added flext::GetBool (just because flext::GetInt has been there for a while)
......
......@@ -65,20 +65,13 @@ flext_dsp::~FLEXT_CLASSDEF(flext_dsp)()
fts_dsp_object_delete(thisHdr());
#endif
if(invecs) delete[] invecs;
if(outvecs) delete[] outvecs;
/*
#if FLEXT_SYS == FLEXT_SYS_MAX
// switch off dsp as the dsp function might get called afterwards (?!)
// switch off dsp as the dsp function might get called afterwards (different thread)
thisHdr()->z_disabled = true;
#endif
if(invecs) delete[] invecs;
if(outvecs) delete[] outvecs;
#elif FLEXT_SYS == FLEXT_SYS_PD
dspon = false;
#endif
*/
}
#if FLEXT_SYS == FLEXT_SYS_JMAX
......@@ -89,15 +82,7 @@ void flext_dsp::dspmeth(fts_word_t *w)
t_int *flext_dsp::dspmeth(t_int *w)
{
flext_dsp *obj = (flext_dsp *)(size_t)w[1];
/*
#ifdef FLEXT_DEBUG
if(!obj->thisHdr()) {
// object is already deleted!
ERRINTERNAL();
return w+3;
}
#endif
*/
#if FLEXT_SYS == FLEXT_SYS_MAX
if(!obj->thisHdr()->z_disabled)
#else
......
......@@ -51,12 +51,6 @@ public:
//! returns current block (aka vector) size
int Blocksize() const { return blksz; }
//! returns number of input channels
int ChannelsIn() const { return chnsin; }
//! returns number of output channels
int ChannelsOut() const { return chnsout; }
//! typedef describing a signal vector
#if FLEXT_SYS == FLEXT_SYS_JMAX
typedef fts_symbol_t t_signalvec;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment