aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source/groove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/xsample/source/groove.cpp')
-rw-r--r--externals/grill/xsample/source/groove.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp
index e5a0eaf5..b4748a6f 100644
--- a/externals/grill/xsample/source/groove.cpp
+++ b/externals/grill/xsample/source/groove.cpp
@@ -31,7 +31,7 @@ public:
virtual BL Init();
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
virtual V m_assist(L msg,L arg,C *s);
#endif
@@ -139,7 +139,7 @@ xgroove::xgroove(I argc,const t_atom *argv):
bidir(1)
{
I argi = 0;
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
if(argc > argi && CanbeInt(argv[argi])) {
outchns = GetAInt(argv[argi]);
argi++;
@@ -150,7 +150,7 @@ xgroove::xgroove(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])) {
outchns = GetAInt(argv[argi]);
@@ -621,11 +621,11 @@ V xgroove::s_dsp()
V xgroove::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());
@@ -671,7 +671,7 @@ V xgroove::m_print()
post("");
}
-#ifdef MAXMSP
+#if FLEXT_SYS == FLEXT_SYS_MAX
V xgroove::m_assist(long msg, long arg, char *s)
{
switch(msg) {