From: fennecdjay Date: Fri, 11 Oct 2019 14:23:44 +0000 (+0200) Subject: :art: More ufgen testing X-Git-Tag: nightly~2175 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=fd7c29a4c454ce7743049db2a0fc70d7ad414d0a;p=gwion.git :art: More ufgen testing --- 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;)