summaryrefslogtreecommitdiffstats
path: root/src/server/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Engine.cpp')
-rw-r--r--src/server/Engine.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp
index bcad56a5..a8c51f20 100644
--- a/src/server/Engine.cpp
+++ b/src/server/Engine.cpp
@@ -47,6 +47,7 @@
#include "GraphImpl.hpp"
#include "LV2Options.hpp"
#include "PostProcessor.hpp"
+#include "PreProcessContext.hpp"
#include "PreProcessor.hpp"
#include "RunContext.hpp"
#include "ThreadManager.hpp"
@@ -374,9 +375,10 @@ Engine::activate()
*this, SPtr<Interface>(), -1, 0, Raul::Path("/"), graph_properties);
// Execute in "fake" process context (we are single threaded)
- RunContext context(run_context());
- ev.pre_process();
- ev.execute(context);
+ PreProcessContext pctx;
+ RunContext rctx(run_context());
+ ev.pre_process(pctx);
+ ev.execute(rctx);
ev.post_process();
_root_graph = ev.graph();