summaryrefslogtreecommitdiff
path: root/drumgizmo
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
parent5fb315261b6f77b383525d6a0fec4b2bde2f074f (diff)
Fix two small bugs.
Diffstat (limited to 'drumgizmo')
-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"}
{