From 0a2b49267f9002c7289e60654203e9b108c06f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Tue, 9 Feb 2016 12:45:57 +0100 Subject: Fix two small bugs. --- drumgizmo/drumgizmoc.cc | 2 ++ drumgizmo/output/wavfile.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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"} { -- cgit v1.2.3