]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fixes
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 6 Dec 2019 15:46:55 +0000 (16:46 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 6 Dec 2019 15:46:55 +0000 (16:46 +0100)
src/lib/modules.c
tests/UsrUgen/UsrUGen.gw

index f96c0b9f15aeb05e4cc09cd3589e7269a7339870..b6eab731b8721b0400afc1ed624d6bed60eb3f77 100644 (file)
@@ -246,7 +246,7 @@ static MFUN(default_tick) {
     uu->shred = NULL;
   }
   UGEN(o)->module.gen.tick = id_tick;
-  release(o, shred);
+//  release(o, shred);
 }
 
 static INSTR(UsrUGenTick) {
@@ -280,7 +280,7 @@ static OP_EMIT(opem_usrugen) {
 static GWION_IMPORT(usrugen) {
   GWI_OB(gwi_class_ini(gwi, "UsrUGen", "UGen"))
   gwi_class_xtor(gwi, usrugen_ctor, usrugen_dtor);
-  GWI_BB(gwi_func_ini(gwi, "void", "default_tick"))
+  GWI_BB(gwi_func_ini(gwi, "int", "default_tick"))
   GWI_BB(gwi_func_end(gwi, default_tick, 0))
   GWI_BB(gwi_class_end(gwi))
   GWI_BB(gwi_oper_ini(gwi, "@function", "UsrUGen", "UsrUGen"))
index 4c1792b0c6d56cc124645fd5c1990c5cabc44366..f7a1f25491ef63c506279139aaa5095421a1175c 100644 (file)
@@ -26,5 +26,5 @@ samp => now;
 <<< u.last() >>>;
 
 u.default_tick();
-samp => now;
+2::samp => now;
 <<< u.last() >>>;