summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-20 09:20:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-20 09:20:19 +0100
commit7d14509bff0f730ccbb7a0f4778b78fc36904dd1 (patch)
treee981763d44bc4222c8c42353eb1f008d1c161dcb /plugin
parent5469b1ad85071c72309edb57347c09c9b3af4999 (diff)
Call new init function.
Diffstat (limited to 'plugin')
-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];
}