From f3546d49dbd2d673138387a87bc523c26dcece68 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Sep 2016 15:21:25 +0200 Subject: Remove last vestiges of multiple run contexts --- src/server/events/SetPortValue.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/server/events/SetPortValue.cpp') diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index fd10c94f..0fac88c2 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -26,7 +26,7 @@ #include "Driver.hpp" #include "Engine.hpp" #include "PortImpl.hpp" -#include "ProcessContext.hpp" +#include "RunContext.hpp" #include "SetPortValue.hpp" namespace Ingen { @@ -69,19 +69,15 @@ SetPortValue::pre_process() } void -SetPortValue::execute(ProcessContext& context) +SetPortValue::execute(RunContext& context) { assert(_time >= context.start() && _time <= context.end()); - - if (_port->parent_block()->context() == Context::ID::MESSAGE) - return; - apply(context); _engine.control_bindings()->port_value_changed(context, _port, _binding, _value); } void -SetPortValue::apply(Context& context) +SetPortValue::apply(RunContext& context) { if (_status != Status::SUCCESS) { return; -- cgit v1.2.1