aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/bangbang.c
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2003-06-04 11:50:15 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2003-06-04 11:50:15 +0000
commitc2a6b33ed5c7686421c66fa90fe18e1d7a14b7ec (patch)
tree907ed244aa758fe70bb33256a17deca1e5fd9fb2 /cyclone/hammer/bangbang.c
parentb6ae9da8c7dfba6587038cac42684949bf2faaf0 (diff)
mtr read/write, etc.
svn path=/trunk/externals/miXed/; revision=682
Diffstat (limited to 'cyclone/hammer/bangbang.c')
-rw-r--r--cyclone/hammer/bangbang.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cyclone/hammer/bangbang.c b/cyclone/hammer/bangbang.c
index bebd26e..695a558 100644
--- a/cyclone/hammer/bangbang.c
+++ b/cyclone/hammer/bangbang.c
@@ -8,9 +8,9 @@
#include "m_pd.h"
#include "common/loud.h"
-#define BANGBANG_MINOUTS 1
-#define BANGBANG_MAXOUTS 40 /* CHECKED (just clipped without warning) */
-#define BANGBANG_DEFOUTS 2
+#define BANGBANG_MINOUTS 1
+#define BANGBANG_C74MAXOUTS 40 /* CHECKED (just clipped without warning) */
+#define BANGBANG_DEFOUTS 2
typedef struct _bangbang
{
@@ -46,8 +46,8 @@ static void *bangbang_new(t_floatarg val)
t_outlet **outs;
if (nouts < BANGBANG_MINOUTS)
nouts = BANGBANG_DEFOUTS;
- if (nouts > BANGBANG_MAXOUTS)
- loud_incompatible_max(bangbang_class, BANGBANG_MAXOUTS, "outlets");
+ if (nouts > BANGBANG_C74MAXOUTS)
+ loud_incompatible_max(bangbang_class, BANGBANG_C74MAXOUTS, "outlets");
if (nouts > BANGBANG_DEFOUTS)
{
if (!(outs = (t_outlet **)getbytes(nouts * sizeof(*outs))))