]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix Gain inheritance
authorfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 3 Nov 2019 20:46:49 +0000 (21:46 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 3 Nov 2019 20:46:49 +0000 (21:46 +0100)
src/lib/modules.c

index 60a25f6082b59d15d20d21612171730a73fc2f68..932c9172425f0420b7271f1634014dcf111cc38a 100644 (file)
@@ -41,7 +41,7 @@ static MFUN(gain_set_gain) {
 }
 
 static GWION_IMPORT(gain) {
-  GWI_OB(gwi_class_ini(gwi,  "Gain", NULL))
+  GWI_OB(gwi_class_ini(gwi,  "Gain", "UGen"))
   gwi_class_xtor(gwi, gain_ctor, basic_dtor);
   gwi_func_ini(gwi, "float", "gain");
   GWI_BB(gwi_func_end(gwi, gain_get_gain, ae_flag_none))