From 85e25996be15152314194b12c4cbbad1860f04aa Mon Sep 17 00:00:00 2001 From: "Charles K. Neimog" Date: Tue, 12 Nov 2024 19:50:39 -0300 Subject: [PATCH] Update slew_new function for Compatibility with Emscripten and pd4web change `slew_new(t_symbol *s, t_floatarg f)` to `slew_new(t_floatarg f)` --- Source/Audio/slew~.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Audio/slew~.c b/Source/Audio/slew~.c index 13cace346..8dbe2f766 100644 --- a/Source/Audio/slew~.c +++ b/Source/Audio/slew~.c @@ -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);