summaryrefslogtreecommitdiffstats
path: root/src/server/GraphImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/GraphImpl.cpp')
-rw-r--r--src/server/GraphImpl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/GraphImpl.cpp b/src/server/GraphImpl.cpp
index 6b1d0464..1311755d 100644
--- a/src/server/GraphImpl.cpp
+++ b/src/server/GraphImpl.cpp
@@ -25,7 +25,6 @@
#include "ArcImpl.hpp"
#include "BlockImpl.hpp"
#include "BufferFactory.hpp"
-#include "Driver.hpp"
#include "DuplexPort.hpp"
#include "Engine.hpp"
#include "GraphImpl.hpp"
@@ -69,7 +68,7 @@ GraphImpl::duplicate(Engine& engine,
GraphImpl* parent)
{
BufferFactory& bufs = *engine.buffer_factory();
- const SampleRate rate = engine.driver()->sample_rate();
+ const SampleRate rate = engine.sample_rate();
// Duplicate graph
GraphImpl* dup = new GraphImpl(