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.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index 0ded3e5b..48b79822 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -149,17 +149,8 @@ InputPort::remove_edge(ProcessContext& context, const OutputPort* tail)
return NULL;
}
- // Turn off broadcasting if we're no longer connected
if (_edges.empty()) {
- if (is_a(PortType::AUDIO)) {
- // Send an update peak of 0.0 to reset to silence
- const Raul::Atom z = context.engine().world()->forge().make(0.0f);
- context.notify(context.engine().world()->uris().ingen_activity,
- context.start(),
- this,
- z.size(), z.type(), z.get_body());
- }
- _broadcast = false;
+ _broadcast = false; // Turn off broadcasting if no longer connected
}
return edge;