Skip to content

Commit

Permalink
improve passive outlet
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Jul 18, 2018
1 parent a5371b0 commit df58f17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/faust_tilde_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static char faust_io_manager_resize_outputs(t_faust_io_manager *x, size_t const
x->f_noutlets = rnouts;
if(extraout)
{
x->f_extra_outlet = outlet_new((t_object *)x->f_owner, gensym("float"));
x->f_extra_outlet = outlet_new((t_object *)x->f_owner, gensym("anything"));
if(x->f_extra_outlet)
{
return 0;
Expand Down
4 changes: 3 additions & 1 deletion src/faustgen_tilde.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ static void faustgen_tilde_anything(t_faustgen_tilde *x, t_symbol* s, int argc,
}
if(!faust_ui_manager_get(x->f_ui_manager, s, &value))
{
outlet_float(faust_io_manager_get_extra_output(x->f_io_manager), value);
t_atom av;
SETFLOAT(&av, value);
outlet_anything(faust_io_manager_get_extra_output(x->f_io_manager), s, 1, &av);
return;
}
pd_error(x, "faustgen~: ui glue '%s' not defined", s->s_name);
Expand Down

0 comments on commit df58f17

Please sign in to comment.