diff options
Diffstat (limited to 'externals/grill/xsample')
-rw-r--r-- | externals/grill/xsample/source/groove.cpp | 9 | ||||
-rw-r--r-- | externals/grill/xsample/source/record.cpp | 9 | ||||
-rwxr-xr-x | externals/grill/xsample/xsample.cw | bin | 106655 -> 153773 bytes |
3 files changed, 4 insertions, 14 deletions
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp index 241146c6..e35f71dc 100644 --- a/externals/grill/xsample/source/groove.cpp +++ b/externals/grill/xsample/source/groove.cpp @@ -72,10 +72,8 @@ protected: S *znpos,*znmul,*znidx; I pblksz; - outlet *outmin,*outmax; // float outlets - - inline V outputmin() { ToOutFloat(outmin,curmin*s2u); } - inline V outputmax() { ToOutFloat(outmax,curmax*s2u); } + inline V outputmin() { ToOutFloat(outchns+1,curmin*s2u); } + inline V outputmax() { ToOutFloat(outchns+2,curmax*s2u); } inline V setpos(F pos) { @@ -220,9 +218,6 @@ xgroove::~xgroove() BL xgroove::Init() { if(xinter::Init()) { - outmin = GetOut(outchns+1); - outmax = GetOut(outchns+2); - m_reset(); return true; } diff --git a/externals/grill/xsample/source/record.cpp b/externals/grill/xsample/source/record.cpp index c9faef65..ce169e9a 100644 --- a/externals/grill/xsample/source/record.cpp +++ b/externals/grill/xsample/source/record.cpp @@ -54,10 +54,8 @@ protected: BL dorec,doloop,mixmode; L curpos; // in samples - outlet *outmin,*outmax; // float outlets - - inline V outputmin() { ToOutFloat(outmin,curmin*s2u); } - inline V outputmax() { ToOutFloat(outmax,curmax*s2u); } + inline V outputmin() { ToOutFloat(1,curmin*s2u); } + inline V outputmax() { ToOutFloat(2,curmax*s2u); } inline V mg_pos(F &v) const { v = curpos*s2u; } @@ -164,9 +162,6 @@ xrecord::xrecord(I argc,const t_atom *argv): BL xrecord::Init() { if(xsample::Init()) { - outmin = GetOut(1); - outmax = GetOut(2); - m_reset(); return true; } diff --git a/externals/grill/xsample/xsample.cw b/externals/grill/xsample/xsample.cw Binary files differindex d6db1838..88559b7b 100755 --- a/externals/grill/xsample/xsample.cw +++ b/externals/grill/xsample/xsample.cw |