From 8450921d5309c5ba677997e7ca722a466c8dc222 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Sep 2007 23:36:39 +0000 Subject: Working port notification for LV2 GUIs (ll-plugins VU meter works in Ingen now). git-svn-id: http://svn.drobilla.net/lad/ingen@790 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/QueuedEngineInterface.cpp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/QueuedEngineInterface.cpp') diff --git a/src/libs/engine/QueuedEngineInterface.cpp b/src/libs/engine/QueuedEngineInterface.cpp index 72be00aa..4e138c57 100644 --- a/src/libs/engine/QueuedEngineInterface.cpp +++ b/src/libs/engine/QueuedEngineInterface.cpp @@ -196,14 +196,14 @@ QueuedEngineInterface::set_polyphonic(const string& path, bool poly) void QueuedEngineInterface::enable_patch(const string& patch_path) { - push_queued(new EnablePatchEvent(_engine, _responder, now(), patch_path)); + push_queued(new EnablePatchEvent(_engine, _responder, now(), patch_path, true)); } void QueuedEngineInterface::disable_patch(const string& patch_path) { - push_queued(new DisablePatchEvent(_engine, _responder, now(), patch_path)); + push_queued(new EnablePatchEvent(_engine, _responder, now(), patch_path, false)); } @@ -273,6 +273,20 @@ QueuedEngineInterface::set_port_value_immediate(const string& port_path, } +void +QueuedEngineInterface::enable_port_broadcasting(const string& port_path) +{ + push_queued(new EnablePortBroadcastingEvent(_engine, _responder, now(), port_path, true)); +} + + +void +QueuedEngineInterface::disable_port_broadcasting(const string& port_path) +{ + push_queued(new EnablePortBroadcastingEvent(_engine, _responder, now(), port_path, false)); +} + + void QueuedEngineInterface::set_program(const string& node_path, uint32_t bank, -- cgit v1.2.1