Commit 2cb935f3 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

tb: add A_CANT to dsp method

parent 2f8b5ed3
......@@ -95,5 +95,5 @@ void block_delay_tilde_setup(void)
block_delay_tilde_class = class_new(gensym("block_delay~"), (t_newmethod)block_delay_tilde_new, (t_method)block_delay_tilde_free,
sizeof(t_block_delay), 0, A_DEFFLOAT, 0);
class_addmethod(block_delay_tilde_class, nullfn, gensym("signal"), 0);
class_addmethod(block_delay_tilde_class, (t_method)block_delay_tilde_dsp, gensym("dsp"), 0);
class_addmethod(block_delay_tilde_class, (t_method)block_delay_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -60,5 +60,5 @@ void erfc_tilde_setup(void)
erfc_class = class_new(gensym("erfc~"), (t_newmethod)erfc_new, 0,
sizeof(t_erfc), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(erfc_class, t_erfc, x_f);
class_addmethod(erfc_class, (t_method)erfc_dsp, gensym("dsp"), 0);
class_addmethod(erfc_class, (t_method)erfc_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -60,5 +60,5 @@ void erf_tilde_setup(void)
erf_class = class_new(gensym("erf~"), (t_newmethod)erf_new, 0,
sizeof(t_erf), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(erf_class, t_erf, x_f);
class_addmethod(erf_class, (t_method)erf_dsp, gensym("dsp"), 0);
class_addmethod(erf_class, (t_method)erf_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -363,7 +363,7 @@ void volctl_tilde_setup(void)
volctl_class = class_new(gensym("volctl~"), (t_newmethod)volctl_new,
(t_method)volctl_free, sizeof(t_volctl), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN(volctl_class, t_volctl, x_f);
class_addmethod(volctl_class, (t_method)volctl_dsp, gensym("dsp"), 0);
class_addmethod(volctl_class, (t_method)volctl_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(volctl_class, (t_method)volctl_set, gensym("f1"),A_FLOAT,0);
class_settip(volctl_class,gensym("signal"));
}
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