Skip to content

Commit

Permalink
Update slew_new function for Compatibility with Emscripten and pd4web
Browse files Browse the repository at this point in the history
change `slew_new(t_symbol *s, t_floatarg f)` to `slew_new(t_floatarg f)`
  • Loading branch information
charlesneimog committed Nov 12, 2024
1 parent b22f279 commit 85e2599
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Audio/slew~.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ static void *slew_free(t_slew *x){
return(void *)x;
}

static void *slew_new(t_symbol *s, t_floatarg f){
s = NULL;
static void *slew_new(t_floatarg f){
t_slew *x = (t_slew *)pd_new(slew_class);
x->x_lastin = (t_float *)getbytes(sizeof(*x->x_lastin));
x->x_inlet = inlet_new((t_object *)x, (t_pd *)x, &s_signal, &s_signal);
Expand Down

0 comments on commit 85e2599

Please sign in to comment.