Commit f43707b9 authored by thomas's avatar thomas
Browse files

tried max library of externals


git-svn-id: https://svn.grrrr.org/ext/trunk@133 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent b169b165
No preview for this file type
......@@ -116,3 +116,6 @@ bool flext_obj::check_tilde(const char *objname,const char *setupfun)
}
#endif
This diff is collapsed.
......@@ -34,8 +34,13 @@ flext_dsp::flext_dsp():
#endif
srate(sys_getsr()), // should we set it?
blksz(sys_getblksize()),
#ifdef PD
chnsin(sys_get_inchannels()),
chnsout(sys_get_outchannels()),
#else // MAXMSP
chnsin(sys_getch()),
chnsout(sys_getch()),
#endif
invecs(NULL),outvecs(NULL)
{}
......@@ -68,8 +73,13 @@ void flext_dsp::cb_dsp(t_class *c,t_signal **sp)
// store current dsp parameters
obj->srate = sp[0]->s_sr;
obj->blksz = sp[0]->s_n; // is this guaranteed to be the same as sys_getblksize() ?
#ifdef PD
obj->chnsin = sys_get_inchannels();
obj->chnsout = sys_get_outchannels();
#else // MAXMSP
obj->chnsin = obj->chnsout = sys_getch();
#endif
// store in and out signal vectors
int i,in = obj->CntInSig(),out = obj->CntOutSig();
......
......@@ -86,7 +86,7 @@ public:
// dirty buffer content
// refr = true: forces immediate graphics refresh
void Dirty(bool refr = false);
bool IsDirty() const { return isdirty; }
// bool IsDirty() const { return isdirty; }
// get symbol (or literal name) of buffer
t_symbol *Symbol() const { return sym; }
......
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