summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-02-09 12:45:57 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 12:45:57 +0100
commit0a2b49267f9002c7289e60654203e9b108c06f73 (patch)
treea6a26ecd0f67a4ab97b5ee8fb8f9620aa1f80fb2 /drumgizmo/drumgizmoc.cc
parent5fb315261b6f77b383525d6a0fec4b2bde2f074f (diff)
Fix two small bugs.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index ac547fc..02d025e 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -373,6 +373,8 @@ int CliMain::run(int argc, char* argv[])
DrumGizmo gizmo(oe.get(), ie.get());
+ gizmo.setFrameSize(oe->getBufferSize());
+
if(kitfile == "" || !gizmo.loadkit(kitfile))
{
printf("Failed to load \"%s\".\n", kitfile.c_str());