diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2003-06-04 11:50:15 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2003-06-04 11:50:15 +0000 |
commit | c2a6b33ed5c7686421c66fa90fe18e1d7a14b7ec (patch) | |
tree | 907ed244aa758fe70bb33256a17deca1e5fd9fb2 /cyclone/hammer/Decode.c | |
parent | b6ae9da8c7dfba6587038cac42684949bf2faaf0 (diff) |
mtr read/write, etc.
svn path=/trunk/externals/miXed/; revision=682
Diffstat (limited to 'cyclone/hammer/Decode.c')
-rw-r--r-- | cyclone/hammer/Decode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cyclone/hammer/Decode.c b/cyclone/hammer/Decode.c index 8317d7e..4dee7e0 100644 --- a/cyclone/hammer/Decode.c +++ b/cyclone/hammer/Decode.c @@ -8,8 +8,8 @@ #include "m_pd.h" #include "common/loud.h" -#define DECODE_MAXOUTS 8 /* CHECKED (does it make any sense?) */ -#define DECODE_DEFOUTS 1 +#define DECODE_C74MAXOUTS 8 /* CHECKED (does it make any sense?) */ +#define DECODE_DEFOUTS 1 typedef struct _Decode { @@ -19,7 +19,7 @@ typedef struct _Decode int x_allon; /* submaster switch */ int x_alloff; /* master switch */ t_outlet **x_outs; - t_outlet *x_outbuf[DECODE_MAXOUTS]; + t_outlet *x_outbuf[DECODE_C74MAXOUTS]; } t_Decode; static t_class *Decode_class; @@ -76,9 +76,9 @@ static void *Decode_new(t_floatarg val) t_outlet **outs; if (nouts < 1) nouts = DECODE_DEFOUTS; - if (nouts > DECODE_MAXOUTS) + if (nouts > DECODE_C74MAXOUTS) { - loud_incompatible_max(Decode_class, DECODE_MAXOUTS, "outlets"); + loud_incompatible_max(Decode_class, DECODE_C74MAXOUTS, "outlets"); if (!(outs = (t_outlet **)getbytes(nouts * sizeof(*outs)))) return (0); } |