Commit 4a1d0c2c authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

mrpeach sqosc~: add A_CANT to dsp method

parent 4e829891
......@@ -341,7 +341,7 @@ void sqosc_tilde_setup(void)
sqosc_class = class_new(gensym("sqosc~"), (t_newmethod)sqosc_new, 0,
sizeof(t_sqosc), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(sqosc_class, t_sqosc, x_f);/* x_f is used when no signal is input */
class_addmethod(sqosc_class, (t_method)sqosc_dsp, gensym("dsp"), 0);
class_addmethod(sqosc_class, (t_method)sqosc_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(sqosc_class, (t_method)sqosc_ft1, gensym("ft1"), A_FLOAT, 0);
class_addmethod(sqosc_class, (t_method)sqosc_pw, gensym("pw"), A_FLOAT, 0);
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