From befb1330f6457f8514d18c45109223eb27b01ee7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 30 Apr 2024 06:56:21 +0200 Subject: Fix type error. --- faust-ksoloti-object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/faust-ksoloti-object.c b/faust-ksoloti-object.c index 82e575d..97128fe 100644 --- a/faust-ksoloti-object.c +++ b/faust-ksoloti-object.c @@ -53,10 +53,10 @@ for (uint8_t i = 0; i < BUFSIZE; i++) { inf[i] = q27_to_float(inlet_in[i]); } -float* inp = (float*) &inf; -float* outp = (float*) &outf; +float* inp = (float*) inf; +float* outp = (float*) outf; -computemydsp(&mdsp, BUFSIZE, *inp, *outp); +computemydsp(&mdsp, BUFSIZE, &inp, &outp); for (uint8_t i = 0; i < BUFSIZE; i++) { outlet_out[i] = float_to_q27(outf[i]); -- cgit v1.2.3