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>2016-01-20 13:31:10 +0100
commitc3841a8cec9d239bca27a113c013a032dfc658bd (patch)
treec5ce7fab48505ac383ac72acd80de030c8f18a2d /drumgizmo/drumgizmoc.cc
parent91f5d293bce4a15a1883d0693f478917bb256b40 (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 fba9575..8983aa3 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -228,7 +228,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());
@@ -327,6 +327,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());