Commit 842b381d authored by thomas's avatar thomas
Browse files

fix for MaxSDK

git-svn-id: https://svn.grrrr.org/ext/trunk/flext@3723 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent a28551e2
......@@ -65,7 +65,7 @@ protected:
}
StkFloat *tick(StkFloat *vector,unsigned int vectorSize);
inline StkFrames &tick(StkFrames &vector)
{
FLEXT_ASSERT(vector.channels() == 1);
......@@ -97,7 +97,7 @@ protected:
}
void tick(const StkFloat *vector,unsigned int vectorSize);
inline void tick(const StkFrames &vector)
{
FLEXT_ASSERT(vector.channels() == 1);
......
......@@ -219,10 +219,6 @@ public:
# define FLEXT_ARRAYTYPE t_sample
# define FLEXT_GETSAMPLE(x) (x)
# endif
#elif FLEXT_SYS == FLEXT_SYS_MAX
# define FLEXT_ARRAYTYPE t_sample
# define FLEXT_GETSAMPLE(x) (x)
#endif
class Element {
public:
......@@ -234,6 +230,13 @@ public:
FLEXT_ARRAYTYPE el;
};
#elif FLEXT_SYS == FLEXT_SYS_MAX
# define FLEXT_ARRAYTYPE t_sample
# define FLEXT_GETSAMPLE(x) (x)
typedef FLEXT_ARRAYTYPE Element;
#endif
/*! \brief Construct buffer.
\param s: symbol name, can be NULL
\param delayed = true: only sets name, needs another Set(NULL) to really initialize the buffer
......
......@@ -110,5 +110,3 @@ void stk2::ProcessObjs(int n)
Outlet(i).tick(vec);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment