aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-31 04:35:34 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-31 04:35:34 +0000
commit2e8a32f19193b9098ad52e0402dde30f01c32fd0 (patch)
tree56eb88a6948f4d1cf14970e25fa0ee9560587a56 /externals/grill/flext/source/flsupport.h
parente0be7cac38aecb4e22e596a82cecccce5c3dcb94 (diff)
""
svn path=/trunk/; revision=373
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index e2350d04..66f16dac 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -167,8 +167,11 @@ public:
static t_atom *CopyList(int argc,const t_atom *argv);
//! Copy a memory region
static void CopyMem(void *dst,const void *src,int bytes);
+ static void CopySamples(t_sample *dst,const t_sample *src,int cnt) { CopyMem(dst,src,cnt*sizeof(t_sample)); }
//! Zero a memory region
static void ZeroMem(void *dst,int bytes);
+ static void ZeroSamples(t_sample *dst,int cnt) { ZeroMem(dst,cnt*sizeof(t_sample)); }
+
//! Sleep for an amount of time
static void Sleep(double s);