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/InternalPlugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server/InternalPlugin.cpp') diff --git a/src/server/InternalPlugin.cpp b/src/server/InternalPlugin.cpp index 1d397f14..3342ef84 100644 --- a/src/server/InternalPlugin.cpp +++ b/src/server/InternalPlugin.cpp @@ -21,7 +21,6 @@ #include "internals/Time.hpp" #include "internals/Trigger.hpp" -#include "Driver.hpp" #include "Engine.hpp" #include "InternalPlugin.hpp" @@ -49,7 +48,7 @@ InternalPlugin::instantiate(BufferFactory& bufs, Engine& engine, const LilvState* state) { - const SampleCount srate = engine.driver()->sample_rate(); + const SampleCount srate = engine.sample_rate(); if (uri() == NS_INTERNALS "BlockDelay") { return new BlockDelayNode(this, bufs, symbol, polyphonic, parent, srate); -- cgit v1.2.1