From 6bd13dfa606f758212a20634f0f073596f42101f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Jul 2012 02:45:35 +0000 Subject: Working bi-directional UI <=> plugin messaging. Rewrite notification system to support variably sized notifications. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4548 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/InputPort.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/InputPort.cpp') diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index d94a971b..70d3662c 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -24,7 +24,6 @@ #include "Engine.hpp" #include "InputPort.hpp" #include "NodeImpl.hpp" -#include "Notification.hpp" #include "OutputPort.hpp" #include "ProcessContext.hpp" #include "ingen/shared/URIs.hpp" @@ -154,10 +153,11 @@ 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 - context.notify(Notification::PORT_ACTIVITY, + const Raul::Atom z = context.engine().world()->forge().make(0.0f); + context.notify(context.engine().world()->uris().ingen_activity, context.start(), this, - context.engine().world()->forge().make(0.0f)); + z.size(), z.type(), z.get_body()); } _broadcast = false; } -- cgit v1.2.1