aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2008-07-06 19:01:01 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2008-07-06 19:01:01 +0000
commit851cef4efb81ae72547dce700ea8e1cc248a860d (patch)
tree9bf9e9d20d8dc8956edfff7952cf646bd0cfec80
parent2bb00942d69a7eb652833ccb197beb4f7e73ddb8 (diff)
pipelist now passes meta-messages (lists without the list selector) as well.
svn path=/trunk/externals/mrpeach/; revision=10143
-rw-r--r--osc/pipelist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/osc/pipelist.c b/osc/pipelist.c
index c561fed..ddc0e7e 100644
--- a/osc/pipelist.c
+++ b/osc/pipelist.c
@@ -102,7 +102,8 @@ static void pipelist_list(t_pipelist *x, t_symbol *s, int ac, t_atom *av)
clock_delay(h->h_clock, (x->x_deltime >= 0 ? x->x_deltime : 0));
}
/* otherwise just pass the list straight through */
- else outlet_list(x->x_pipelistout, &s_list, ac, av);
+ /*else outlet_list(x->x_pipelistout, &s_list, ac, av);*/
+ else outlet_anything(x->x_pipelistout, s, ac, av);
}
static void pipelist_flush(t_pipelist *x)
@@ -126,6 +127,7 @@ void pipelist_setup(void)
(t_newmethod)pipelist_new, (t_method)pipelist_clear,
sizeof(t_pipelist), 0, A_GIMME, 0);
class_addlist(pipelist_class, pipelist_list);
+ class_addanything(pipelist_class, pipelist_list);
class_addmethod(pipelist_class, (t_method)pipelist_flush, gensym("flush"), 0);
class_addmethod(pipelist_class, (t_method)pipelist_clear, gensym("clear"), 0);
}