diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 12:45:57 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 12:45:57 +0100 |
commit | 0a2b49267f9002c7289e60654203e9b108c06f73 (patch) | |
tree | a6a26ecd0f67a4ab97b5ee8fb8f9620aa1f80fb2 /drumgizmo/drumgizmoc.cc | |
parent | 5fb315261b6f77b383525d6a0fec4b2bde2f074f (diff) |
Fix two small bugs.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r-- | drumgizmo/drumgizmoc.cc | 2 |
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()); |