summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/QueuedEngineInterface.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-30 23:36:39 +0000
committerDavid Robillard <d@drobilla.net>2007-09-30 23:36:39 +0000
commit8450921d5309c5ba677997e7ca722a466c8dc222 (patch)
tree2c0fdf58f142be8f42222c3a580614cfbf0d7989 /src/libs/engine/QueuedEngineInterface.cpp
parentffc6f457d61460ca73bb24a3d7e583f90d54ecd2 (diff)
downloadingen-8450921d5309c5ba677997e7ca722a466c8dc222.tar.gz
ingen-8450921d5309c5ba677997e7ca722a466c8dc222.tar.bz2
ingen-8450921d5309c5ba677997e7ca722a466c8dc222.zip
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
Diffstat (limited to 'src/libs/engine/QueuedEngineInterface.cpp')
-rw-r--r--src/libs/engine/QueuedEngineInterface.cpp18
1 files changed, 16 insertions, 2 deletions
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));
}
@@ -274,6 +274,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,
uint32_t program)