diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-23 22:38:44 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-29 22:43:33 +0200 |
commit | 324502145b2a5fec38928509c8b3d9f8eb8bf47d (patch) | |
tree | 393f9e40bf4ae033217df49eacb0ed76b64d475c /plugin | |
parent | 253a7fbc4a13d459cb2bd19f51ad578c0e1814f2 (diff) |
Settings.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 2 | ||||
-rw-r--r-- | plugin/drumgizmo_plugin.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 2a7e556..6563dcc 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -59,7 +59,7 @@ DrumGizmoPlugin::DrumGizmoPlugin() { init(); - drumgizmo = std::make_shared<DrumGizmo>(&output, &input); + drumgizmo = std::make_shared<DrumGizmo>(settings, &output, &input); resizeWindow(370, 330); drumgizmo->setFreeWheel(true); drumgizmo->setSamplerate(44100); diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 4a4ec13..5d4a648 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -154,6 +154,8 @@ private: Output output{*this}; const std::vector<float*>* output_samples{nullptr}; + Settings settings; + std::shared_ptr<GUI::PluginGUI> plugin_gui; std::shared_ptr<DrumGizmo> drumgizmo; }; |