summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index 9002dbab..0d1a2d0e 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -124,9 +124,6 @@ void
InputPort::add_arc(ProcessContext& context, ArcImpl* c)
{
_arcs.push_front(*c);
- if (_type != PortType::CV) {
- _broadcast = true; // Broadcast value/activity of connected input
- }
}
/** Remove a arc. Realtime safe.
@@ -151,10 +148,6 @@ InputPort::remove_arc(ProcessContext& context, const OutputPort* tail)
return NULL;
}
- if (_arcs.empty()) {
- _broadcast = false; // Turn off broadcasting if no longer connected
- }
-
return arc;
}
@@ -220,8 +213,9 @@ InputPort::pre_process(Context& context)
}
}
- if (_broadcast)
- broadcast_value(context, false);
+ if (!_arcs.empty()) {
+ monitor(context);
+ }
}
void