summaryrefslogtreecommitdiffstats
path: root/src/server/events/SetPortValue.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
committerDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
commitf3546d49dbd2d673138387a87bc523c26dcece68 (patch)
treeede285a773fc565205f82a2b0a62ebba6ea552e0 /src/server/events/SetPortValue.cpp
parentfb2744d4265d26fb98b19689b50d127f32c66eab (diff)
downloadingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.gz
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.bz2
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.zip
Remove last vestiges of multiple run contexts
Diffstat (limited to 'src/server/events/SetPortValue.cpp')
-rw-r--r--src/server/events/SetPortValue.cpp10
1 files changed, 3 insertions, 7 deletions
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;