summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-04-30 06:56:21 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-04-30 06:56:21 +0200
commitbefb1330f6457f8514d18c45109223eb27b01ee7 (patch)
treed3eeb99075cfd8f645540717fdfe0f8db19da228
parent491ae9ba960e65325f3676bff6dec0c3bc74170b (diff)
Fix type error.
-rw-r--r--faust-ksoloti-object.c6
1 files 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]);