summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 20:45:31 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 20:45:31 +0100
commit35a301aa644d0be234f2920f447fe1a3b4a42b26 (patch)
treefc28e4a6cd116febec464e34f961ec47f57beee6
parent21dc9f4580d04cd642c22af059985430af5581d3 (diff)
Set framesize before calling load is required.
-rw-r--r--drumgizmo/drumgizmoc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 1ccc151..10dcda5 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -328,6 +328,8 @@ int CliMain::run(int argc, char *argv[])
DrumGizmo gizmo(oe, ie);
+ gizmo.setFrameSize(oe->getBufferSize());
+
if(kitfile == "" || !gizmo.loadkit(kitfile)) {
printf("Failed to load \"%s\".\n", kitfile.c_str());
return 1;