]> Nishi Git Mirror - gwion.git/commitdiff
:art: Abort on unknown driver, as per jackojc suggestion
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 10 Apr 2022 17:21:40 +0000 (19:21 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 10 Apr 2022 17:21:40 +0000 (19:21 +0200)
src/gwion.c

index 483d8bb81fb806ab17e68cd6c556c45df184d249..b45ba76f459925e1e1b38aea49a4d4a9a92fd43d 100644 (file)
@@ -20,7 +20,7 @@
 
 ANN m_bool gwion_audio(const Gwion gwion) {
   Driver *const di = gwion->vm->bbq;
-  if (di->si->arg) driver_ini(gwion);
+  if (di->si->arg) CHECK_BB(driver_ini(gwion));
   di->func(di->driver);
   CHECK_BB(di->driver->ini(gwion->vm, di));
   driver_alloc(di);