diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-20 09:20:19 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-20 09:20:19 +0100 |
commit | 7d14509bff0f730ccbb7a0f4778b78fc36904dd1 (patch) | |
tree | e981763d44bc4222c8c42353eb1f008d1c161dcb /plugin/drumgizmo_plugin.cc | |
parent | 5469b1ad85071c72309edb57347c09c9b3af4999 (diff) |
Call new init function.
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 4 |
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]; } |