aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source/record.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/xsample/source/record.cpp')
-rw-r--r--externals/grill/xsample/source/record.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/externals/grill/xsample/source/record.cpp b/externals/grill/xsample/source/record.cpp
index ce169e9a..d6b9e70e 100644
--- a/externals/grill/xsample/source/record.cpp
+++ b/externals/grill/xsample/source/record.cpp
@@ -69,8 +69,7 @@ private:
DEFSIGCALL(recfun);
virtual V m_signal(I n,S *const *in,S *const *out)
{
- bufchk();
- recfun(n,in,out);
+ if(bufchk()) recfun(n,in,out);
}
FLEXT_CALLVAR_F(mg_pos,m_pos)