summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/LV2Plugin.cpp')
-rw-r--r--src/server/LV2Plugin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp
index 0e2a16b2..0febfc7d 100644
--- a/src/server/LV2Plugin.cpp
+++ b/src/server/LV2Plugin.cpp
@@ -20,7 +20,7 @@
#include "Driver.hpp"
#include "Engine.hpp"
-#include "LV2Node.hpp"
+#include "LV2Block.hpp"
#include "LV2Plugin.hpp"
using namespace std;
@@ -56,21 +56,21 @@ LV2Plugin::symbol() const
return Raul::Symbol("lv2_symbol");
}
-NodeImpl*
+BlockImpl*
LV2Plugin::instantiate(BufferFactory& bufs,
const Raul::Symbol& symbol,
bool polyphonic,
PatchImpl* parent,
Engine& engine)
{
- LV2Node* n = new LV2Node(
+ LV2Block* b = new LV2Block(
this, symbol, polyphonic, parent, engine.driver()->sample_rate());
- if (!n->instantiate(bufs)) {
- delete n;
+ if (!b->instantiate(bufs)) {
+ delete b;
return NULL;
} else {
- return n;
+ return b;
}
}