summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 978b0cc..14ebe64 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -226,7 +226,9 @@ int CliMain::run(int argc, char *argv[])
return 1;
}
- auto ie = createInputEngine(inputengine);
+ JackClientPtr client{nullptr};
+
+ auto ie = createInputEngine(client, inputengine);
if(ie == NULL) {
printf("Invalid input engine: %s\n", inputengine.c_str());
@@ -265,7 +267,7 @@ int CliMain::run(int argc, char *argv[])
return 1;
}
- auto oe = createOutputEngine(outputengine);
+ auto oe = createOutputEngine(client, outputengine);
if(oe == NULL) {
printf("Invalid output engine: %s\n", outputengine.c_str());