From 851cef4efb81ae72547dce700ea8e1cc248a860d Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Sun, 6 Jul 2008 19:01:01 +0000 Subject: pipelist now passes meta-messages (lists without the list selector) as well. svn path=/trunk/externals/mrpeach/; revision=10143 --- osc/pipelist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'osc/pipelist.c') 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); } -- cgit v1.2.1