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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/externals/grill/xsample/source/record.cpp b/externals/grill/xsample/source/record.cpp
index 869ca3d2..052bcc06 100644
--- a/externals/grill/xsample/source/record.cpp
+++ b/externals/grill/xsample/source/record.cpp
@@ -26,7 +26,7 @@ public:
virtual BL Init();
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
virtual V m_assist(L msg,L arg,C *s);
#endif
@@ -113,7 +113,7 @@ xrecord::xrecord(I argc,const t_atom *argv):
inchns(1)
{
I argi = 0;
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
if(argc > argi && CanbeInt(argv[argi])) {
inchns = GetAInt(argv[argi]);
argi++;
@@ -124,7 +124,7 @@ xrecord::xrecord(I argc,const t_atom *argv):
buf = new buffer(GetSymbol(argv[argi]),true);
argi++;
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
// oldstyle command line?
if(argi == 1 && argc == 2 && CanbeInt(argv[argi])) {
inchns = GetAInt(argv[argi]);
@@ -418,11 +418,11 @@ V xrecord::s_dsp()
V xrecord::m_help()
{
post("%s - part of xsample objects, version " XSAMPLE_VERSION,thisName());
-#ifdef _DEBUG
+#ifdef FLEXT_DEBUG
post("compiled on " __DATE__ " " __TIME__);
#endif
post("(C) Thomas Grill, 2001-2002");
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
post("Arguments: %s [channels=1] [buffer]",thisName());
#else
post("Arguments: %s [buffer]",thisName());
@@ -465,7 +465,7 @@ V xrecord::m_print()
}
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
V xrecord::m_assist(L msg,L arg,C *s)
{
switch(msg) {