summaryrefslogtreecommitdiffstats
path: root/src/engine/LV2Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/LV2Plugin.cpp')
-rw-r--r--src/engine/LV2Plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/LV2Plugin.cpp b/src/engine/LV2Plugin.cpp
index 3f3e25c2..b8b159e3 100644
--- a/src/engine/LV2Plugin.cpp
+++ b/src/engine/LV2Plugin.cpp
@@ -22,7 +22,7 @@
#include "LV2Node.hpp"
#include "NodeImpl.hpp"
#include "Engine.hpp"
-#include "AudioDriver.hpp"
+#include "Driver.hpp"
using namespace std;
using namespace Raul;
@@ -66,8 +66,8 @@ LV2Plugin::instantiate(BufferFactory& bufs,
Ingen::PatchImpl* parent,
Engine& engine)
{
- SampleCount srate = engine.audio_driver()->sample_rate();
- SampleCount buffer_size = engine.audio_driver()->buffer_size();
+ SampleCount srate = engine.driver()->sample_rate();
+ SampleCount buffer_size = engine.driver()->buffer_size();
load(); // FIXME: unload at some point