diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-08-14 02:32:51 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-08-14 02:32:51 +0000 |
commit | 21e2f111c461725446457f0d768a95b71c17c847 (patch) | |
tree | 7d694777621bab83dbe3ce09f5d57ab91c0e8f85 /externals/grill/flext/source/fldsp.cpp | |
parent | 83ff55addd23a3536ed179b58498a95321ce0482 (diff) |
""
svn path=/trunk/; revision=844
Diffstat (limited to 'externals/grill/flext/source/fldsp.cpp')
-rw-r--r-- | externals/grill/flext/source/fldsp.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/externals/grill/flext/source/fldsp.cpp b/externals/grill/flext/source/fldsp.cpp index 0161683c..c5d6ea22 100644 --- a/externals/grill/flext/source/fldsp.cpp +++ b/externals/grill/flext/source/fldsp.cpp @@ -141,7 +141,8 @@ void flext_dsp::cb_dsp(t_class *c,t_signal **sp) obj->srate = sp[0]->s_sr; obj->blksz = sp[0]->s_n; // is this guaranteed to be the same as sys_getblksize() ? #endif - + +/* #if FLEXT_SYS == FLEXT_SYS_PD obj->chnsin = sys_get_inchannels(); obj->chnsout = sys_get_outchannels(); @@ -152,13 +153,15 @@ void flext_dsp::cb_dsp(t_class *c,t_signal **sp) #else #error #endif - +*/ // store in and out signal vectors - int i,in = obj->CntInSig(),out = obj->CntOutSig(); + int i; + int in = obj->chnsin = obj->CntInSig(); + int out = obj->chnsout = obj->CntOutSig(); #if FLEXT_SYS == FLEXT_SYS_PD // min. 1 input channel! (CLASS_MAININLET in pd...) - if(!in) in = 1; + if(!in) { obj->chnsin = in = 1; } #endif if(obj->invecs) delete[] obj->invecs; |