aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-15 04:37:19 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-15 04:37:19 +0000
commitb00be027fe91e9ae5a19f53b6c1fd0245b4d4bae (patch)
tree2dd7ab22251e324b6d0f9167d3d32ed6e911a343 /externals/grill/xsample/source
parente62722bf0bba2ddb1b8558fa4c851c9e79dddf6c (diff)
""
svn path=/trunk/; revision=339
Diffstat (limited to 'externals/grill/xsample/source')
-rw-r--r--externals/grill/xsample/source/groove.cpp9
-rw-r--r--externals/grill/xsample/source/record.cpp9
2 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;
}