summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drumgizmo/drumgizmoc.cc2
-rw-r--r--drumgizmo/output/wavfile.cc2
2 files changed, 3 insertions, 1 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());
diff --git a/drumgizmo/output/wavfile.cc b/drumgizmo/output/wavfile.cc
index 963b0e8..2910659 100644
--- a/drumgizmo/output/wavfile.cc
+++ b/drumgizmo/output/wavfile.cc
@@ -30,7 +30,7 @@
WavfileOutputEngine::WavfileOutputEngine()
: AudioOutputEngine{}
- , info{0}
+ , info{}
, channels{}
, file{"output"}
{