Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/rj_accum.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* code for the "rj_accum" pd class.
ver 0.2
ver 0.3
Amaury Hazan
Damian Stewart
*/
Expand Down Expand Up @@ -185,11 +185,11 @@ void rj_accum_setup(void)
/* We specify "A_GIMME" as creation argument for both the creation
routine and the method (callback) for the "conf" message. */
rj_accum_class = class_new(gensym("rj_accum"), (t_newmethod)rj_accum_new,
0, sizeof(t_rj_accum), 0, A_GIMME, 0);
(t_method)rj_accumulator_free, sizeof(t_rj_accum), 0, A_GIMME, 0);

class_addfloat(rj_accum_class, rj_accum_float);
class_addmethod(rj_accum_class, (t_method)rj_accum_set_st, gensym("st"), A_FLOAT, 0);
class_addmethod(rj_accum_class, (t_method)rj_accum_set_lt, gensym("lt"), A_FLOAT, 0);
post("rj_accum version 0.2");
post("rj_accum version 0.3");
}