diff options
author | David Robillard <d@drobilla.net> | 2017-02-17 19:23:12 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-18 19:38:13 +0100 |
commit | 2754f232613dca72c2f964d092569faf1a176c80 (patch) | |
tree | 6a8966ca56acd74a42c691be5d900d221ceb348d /src/server/LV2Plugin.cpp | |
parent | fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0 (diff) | |
download | ingen-2754f232613dca72c2f964d092569faf1a176c80.tar.gz ingen-2754f232613dca72c2f964d092569faf1a176c80.tar.bz2 ingen-2754f232613dca72c2f964d092569faf1a176c80.zip |
Reduce Driver coupling
Diffstat (limited to 'src/server/LV2Plugin.cpp')
-rw-r--r-- | src/server/LV2Plugin.cpp | 3 |
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; |