summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-18 02:45:35 +0000
committerDavid Robillard <d@drobilla.net>2012-07-18 02:45:35 +0000
commit6bd13dfa606f758212a20634f0f073596f42101f (patch)
tree84b4397e7961ffe46375feb17c847bb43e76e30e /src/server/InputPort.cpp
parent5afdd1098140b9aba15ff470356bf73b9144501a (diff)
downloadingen-6bd13dfa606f758212a20634f0f073596f42101f.tar.gz
ingen-6bd13dfa606f758212a20634f0f073596f42101f.tar.bz2
ingen-6bd13dfa606f758212a20634f0f073596f42101f.zip
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
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}