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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp
index 8e820b8e..667190ae 100644
--- a/src/server/LV2Plugin.cpp
+++ b/src/server/LV2Plugin.cpp
@@ -20,7 +20,6 @@
#include "ingen/URIs.hpp"
#include "lv2/lv2plug.in/ns/ext/presets/presets.h"
-#include "Driver.hpp"
#include "Engine.hpp"
#include "LV2Block.hpp"
#include "LV2Plugin.hpp"
@@ -94,7 +93,7 @@ LV2Plugin::instantiate(BufferFactory& bufs,
const LilvState* state)
{
LV2Block* b = new LV2Block(
- this, symbol, polyphonic, parent, engine.driver()->sample_rate());
+ this, symbol, polyphonic, parent, engine.sample_rate());
if (!b->instantiate(bufs, state)) {
delete b;