summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Connect.cpp4
-rw-r--r--src/server/events/CreatePort.cpp2
-rw-r--r--src/server/events/Delete.cpp2
-rw-r--r--src/server/events/Disconnect.cpp2
-rw-r--r--src/server/events/Move.cpp6
-rw-r--r--src/server/events/SetMetadata.cpp6
6 files changed, 11 insertions, 11 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index 7f28c3e6..e0b42424 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -159,9 +159,9 @@ Connect::execute(ProcessContext& context)
if (_status == SUCCESS) {
// This must be inserted here, since they're actually used by the audio thread
- _dst_input_port->add_edge(_edge.get());
+ _dst_input_port->add_edge(context, _edge.get());
assert(_buffers);
- _engine.maid()->push(_dst_input_port->set_buffers(_buffers));
+ _engine.maid()->push(_dst_input_port->set_buffers(context, _buffers));
_dst_input_port->connect_buffers();
_engine.maid()->push(_patch->compiled_patch());
_patch->compiled_patch(_compiled_patch);
diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp
index 92121fb8..0098ae6a 100644
--- a/src/server/events/CreatePort.cpp
+++ b/src/server/events/CreatePort.cpp
@@ -172,7 +172,7 @@ CreatePort::execute(ProcessContext& context)
}
if (_engine_port) {
- _engine.driver()->add_port(_engine_port);
+ _engine.driver()->add_port(context, _engine_port);
}
}
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index c7e658bc..4df6efb6 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -155,7 +155,7 @@ Delete::execute(ProcessContext& context)
_port->parent_patch()->external_ports(_ports_array);
if ( ! _port->parent_patch()->parent())
- _garbage = _engine.driver()->remove_port(_port->path(), &_engine_port);
+ _garbage = _engine.driver()->remove_port(context, _port->path(), &_engine_port);
}
if (parent_patch) {
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp
index 04e3fb93..d6fd999e 100644
--- a/src/server/events/Disconnect.cpp
+++ b/src/server/events/Disconnect.cpp
@@ -186,7 +186,7 @@ Disconnect::Impl::execute(ProcessContext& context, bool set_dst_buffers)
if (set_dst_buffers) {
if (_buffers) {
- _engine.maid()->push(_dst_input_port->set_buffers(_buffers));
+ _engine.maid()->push(_dst_input_port->set_buffers(context, _buffers));
} else {
_dst_input_port->setup_buffers(*_engine.buffer_factory(),
_dst_input_port->poly());
diff --git a/src/server/events/Move.cpp b/src/server/events/Move.cpp
index a7273d81..ecfe9508 100644
--- a/src/server/events/Move.cpp
+++ b/src/server/events/Move.cpp
@@ -103,9 +103,9 @@ Move::execute(ProcessContext& context)
SharedPtr<PortImpl> port = PtrCast<PortImpl>(_store_iterator->second);
if (port && port->parent()->parent() == NULL) {
- EnginePort* engine_port = _engine.driver()->engine_port(_new_path);
- if (engine_port) {
- engine_port->move(_new_path);
+ EnginePort* eport = _engine.driver()->engine_port(context, _new_path);
+ if (eport) {
+ eport->move(_new_path);
}
}
}
diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp
index 7e9c531d..5849269a 100644
--- a/src/server/events/SetMetadata.cpp
+++ b/src/server/events/SetMetadata.cpp
@@ -303,16 +303,16 @@ SetMetadata::execute(ProcessContext& context)
}
_patch->enable();
} else {
- _patch->disable();
+ _patch->disable(context);
}
break;
case POLYPHONIC:
{
PatchImpl* parent = reinterpret_cast<PatchImpl*>(object->parent());
if (value.get_bool())
- object->apply_poly(*_engine.maid(), parent->internal_poly());
+ object->apply_poly(context, *_engine.maid(), parent->internal_poly());
else
- object->apply_poly(*_engine.maid(), 1);
+ object->apply_poly(context, *_engine.maid(), 1);
}
break;
case POLYPHONY: