summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/drumgizmo_plugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index 172ecac..150d13e 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -57,6 +57,8 @@ DrumGizmoPlugin::DrumGizmoPlugin(audioMasterCallback audioMaster)
DrumGizmoPlugin::DrumGizmoPlugin()
#endif
{
+ init();
+
drumgizmo = std::make_shared<DrumGizmo>(&output, &input);
resizeWindow(370, 330);
drumgizmo->setFreeWheel(true);
@@ -290,8 +292,6 @@ sample_t* DrumGizmoPlugin::Output::getBuffer(int ch)
return nullptr;
}
- assert((*plugin.output_samples)[ch]);
-
return (*plugin.output_samples)[ch];
}