From c2a6b33ed5c7686421c66fa90fe18e1d7a14b7ec Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 4 Jun 2003 11:50:15 +0000 Subject: mtr read/write, etc. svn path=/trunk/externals/miXed/; revision=682 --- cyclone/hammer/Decode.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cyclone/hammer/Decode.c') 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); } -- cgit v1.2.1