summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/LV2Node.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/LV2Node.hpp')
-rw-r--r--src/libs/engine/LV2Node.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libs/engine/LV2Node.hpp b/src/libs/engine/LV2Node.hpp
index 88ae5ffc..52f7d6a1 100644
--- a/src/libs/engine/LV2Node.hpp
+++ b/src/libs/engine/LV2Node.hpp
@@ -45,8 +45,8 @@ public:
virtual bool instantiate();
- void prepare_poly(uint32_t poly);
- void apply_poly(Raul::Maid& maid, uint32_t poly);
+ bool prepare_poly(uint32_t poly);
+ bool apply_poly(Raul::Maid& maid, uint32_t poly);
void activate();
void deactivate();
@@ -58,9 +58,10 @@ public:
protected:
//void get_port_vals(ulong port_index, PortInfo* info);
- SLV2Plugin _lv2_plugin;
- SLV2Instance* _instances;
- SLV2Instance* _prepared_instances;
+ SLV2Plugin _lv2_plugin;
+ Raul::Array<SLV2Instance>* _instances;
+ Raul::Array<SLV2Instance>* _prepared_instances;
+ uint32_t _prepared_poly;
};