From 2754f232613dca72c2f964d092569faf1a176c80 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Feb 2017 19:23:12 +0100 Subject: Reduce Driver coupling --- src/server/LV2Plugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server/LV2Plugin.cpp') 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; -- cgit v1.2.1