diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 20:45:31 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 20:45:31 +0100 |
commit | 35a301aa644d0be234f2920f447fe1a3b4a42b26 (patch) | |
tree | fc28e4a6cd116febec464e34f961ec47f57beee6 /drumgizmo/drumgizmoc.cc | |
parent | 21dc9f4580d04cd642c22af059985430af5581d3 (diff) |
Set framesize before calling load is required.
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 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; |