summaryrefslogtreecommitdiff
path: root/lv2
diff options
context:
space:
mode:
Diffstat (limited to 'lv2')
-rw-r--r--lv2/input_lv2.h4
-rw-r--r--lv2/lv2_gui.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/lv2/input_lv2.h b/lv2/input_lv2.h
index 32e2fd8..3e3ef31 100644
--- a/lv2/input_lv2.h
+++ b/lv2/input_lv2.h
@@ -47,10 +47,10 @@ public:
event_t *run(size_t pos, size_t len, size_t *nevents);
void post();
- LV2_Atom_Sequence *eventPort;
+ LV2_Atom_Sequence *eventPort{nullptr};
private:
- Instruments *instruments;
+ Instruments *instruments{nullptr};
};
#endif/*__DRUMGIZMO_INPUT_LV2_H__*/
diff --git a/lv2/lv2_gui.cc b/lv2/lv2_gui.cc
index 7b56c5b..858e097 100644
--- a/lv2/lv2_gui.cc
+++ b/lv2/lv2_gui.cc
@@ -114,7 +114,7 @@ struct DG_GUI {
DrumGizmo *instance;
LV2UI_Controller controller;
- PluginGUI *gui;
+ GUI::PluginGUI *gui;
struct lv2_external_ui_host *ui_host_ptr;
};
@@ -190,7 +190,7 @@ static LV2UI_Handle ui_instantiate(const struct _LV2UI_Descriptor * descriptor,
pt->virt.run = ui_run;
pt->virt.show = ui_show;
pt->virt.hide = ui_hide;
- pt->gui = new PluginGUI();
+ pt->gui = new GUI::PluginGUI();
pt->gui->setWindowClosedCallback(closeHandler, pt);
*widget = (LV2UI_Widget)pt;