From fd7c29a4c454ce7743049db2a0fc70d7ad414d0a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 11 Oct 2019 16:23:44 +0200 Subject: [PATCH] :art: More ufgen testing --- examples/Gain.gw | 1 + src/lib/ugen.c | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/Gain.gw b/examples/Gain.gw index cd321638..7feb3aa9 100644 --- a/examples/Gain.gw +++ b/examples/Gain.gw @@ -7,3 +7,4 @@ for(int i; i < 5; i++) { <<< g.op() >>>; 2::second => now; } +1 => adc.op; diff --git a/src/lib/ugen.c b/src/lib/ugen.c index 51220b7c..60301771 100644 --- a/src/lib/ugen.c +++ b/src/lib/ugen.c @@ -273,6 +273,7 @@ static MFUN(ugen_get_op) { else if(f == ugop_div) *(m_uint*)RETURN = 4; } + ANN static void set_op(const UGen u, const f_ugop f) { if(u->multi) { for(uint i = u->connect.multi->n_chan + 1; --i;) -- 2.43.0