summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-07-30 18:22:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-07-30 18:22:16 +0200
commit9a2da5246960c024907cbf3c4cd9fde61a329207 (patch)
tree333820813484184bcba5d1534fdc5f2ff6ecbe5a /drumgizmo/drumgizmoc.cc
parent509568c03ca4b64266675735d677267ec265c49e (diff)
Add free-wheel mode for Jack (untested).
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 6111c72..708528c 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -229,7 +229,7 @@ int CliMain::run(int argc, char *argv[])
return 1;
}
- AudioInputEngine *ie = new AudioInputEngineDL(inputengine);
+ AudioInputEngineDL *ie = new AudioInputEngineDL(inputengine);
if(ie == NULL) {
printf("Invalid input engine: %s\n", inputengine.c_str());
@@ -323,6 +323,8 @@ int CliMain::run(int argc, char *argv[])
printf("Using kitfile: %s\n", kitfile.c_str());
DrumGizmo gizmo(oe, ie);
+ oe->setEngine(&gizmo);
+ ie->setEngine(&gizmo);
gizmo.setFrameSize(oe->getBufferSize());