diff options
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r-- | src/server/InputPort.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 25059242..d94a971b 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -154,10 +154,10 @@ InputPort::remove_edge(ProcessContext& context, const OutputPort* tail) if (_edges.empty()) { if (is_a(PortType::AUDIO)) { // Send an update peak of 0.0 to reset to silence - const Notification note = Notification::make( - Notification::PORT_ACTIVITY, context.start(), this, - context.engine().world()->forge().make(0.0f)); - context.event_sink().write(sizeof(note), ¬e); + context.notify(Notification::PORT_ACTIVITY, + context.start(), + this, + context.engine().world()->forge().make(0.0f)); } _broadcast = false; } |