Commit d02c1eba authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

signal: add A_CANT to dsp method

parent eb339fbb
......@@ -958,7 +958,7 @@ void bonk_tilde_setup(void)
bonk_class = class_new(gensym("bonk~"), (t_newmethod)bonk_new, 0,
sizeof(t_bonk), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
class_addmethod(bonk_class, nullfn, gensym("signal"), 0);
class_addmethod(bonk_class, (t_method)bonk_dsp, gensym("dsp"), 0);
class_addmethod(bonk_class, (t_method)bonk_dsp, gensym("dsp"), A_CANT, 0);
class_addbang(bonk_class, bonk_bang);
class_addmethod(bonk_class, (t_method)bonk_learn, gensym("learn"),
A_FLOAT, 0);
......
......@@ -809,7 +809,7 @@ expr_setup(void)
(t_method)expr_ff, sizeof(t_expr), 0, A_GIMME, 0);
class_addmethod(expr_tilde_class, nullfn, gensym("signal"), 0);
CLASS_MAINSIGNALIN(expr_tilde_class, t_expr, exp_f);
class_addmethod(expr_tilde_class,(t_method)expr_dsp, gensym("dsp"), 0);
class_addmethod(expr_tilde_class,(t_method)expr_dsp, gensym("dsp"), A_CANT, 0);
class_sethelpsymbol(expr_tilde_class, gensym("expr"));
/*
* fexpr~ initialization
......
......@@ -1501,7 +1501,7 @@ void fiddle_tilde_setup(void)
(t_method)sigfiddle_ff, sizeof(t_sigfiddle), 0,
A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
class_addmethod(sigfiddle_class, (t_method)sigfiddle_dsp,
gensym("dsp"), 0);
gensym("dsp"), A_CANT, 0);
class_addmethod(sigfiddle_class, (t_method)sigfiddle_debug,
gensym("debug"), 0);
class_addmethod(sigfiddle_class, (t_method)sigfiddle_setnpoints,
......
......@@ -105,6 +105,6 @@ void lrshift_tilde_setup(void)
A_DEFFLOAT, 0);
class_addmethod(lrshift_tilde_class, nullfn, gensym("signal"), 0);
class_addmethod(lrshift_tilde_class, (t_method)lrshift_tilde_dsp,
gensym("dsp"), 0);
gensym("dsp"), A_CANT, 0);
class_addfloat(lrshift_tilde_class, (t_method)lrshift_tilde_float);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment