aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext')
-rw-r--r--externals/grill/flext/config-pd-msvc.txt4
-rw-r--r--externals/grill/flext/readme.txt1
-rw-r--r--externals/grill/flext/source/flsupport.h3
3 files changed, 6 insertions, 2 deletions
diff --git a/externals/grill/flext/config-pd-msvc.txt b/externals/grill/flext/config-pd-msvc.txt
index 83c908d8..cf41c252 100644
--- a/externals/grill/flext/config-pd-msvc.txt
+++ b/externals/grill/flext/config-pd-msvc.txt
@@ -10,11 +10,11 @@ MSVCPATH="c:\programme\prog\microsoft visual studio\VC98"
# where is the SndObj include directory?
# (leave blank or comment out to disable SndObj support)
-SNDOBJ=f:\prog\packs\sndobj\include
+SNDOBJ=f:\prog\audio\sndobj\include
# where is the STK include directory?
# (leave blank or comment out to disable STK support)
-STK=f:\prog\packs\stk\include
+STK=f:\prog\audio\stk\include
# where should flext libraries be built?
# object files will be placed in subfolders
diff --git a/externals/grill/flext/readme.txt b/externals/grill/flext/readme.txt
index bcffda75..5eb82d7c 100644
--- a/externals/grill/flext/readme.txt
+++ b/externals/grill/flext/readme.txt
@@ -118,6 +118,7 @@ Version history:
- pragma for Metrowerks compilers: enumsalwaysint on, bool on
- MaxMSP: added assist string for attribute outlets
- added new POSIX for ThrCond::TimedWait (but still have to find out when to enable it....)
+- added CopySamples and ZeroSamples
0.4.1:
- full port for Max@OSX
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);