summaryrefslogtreecommitdiffstats
path: root/src/libs/client
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/client
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/client')
-rw-r--r--src/libs/client/OSCEngineSender.cpp18
-rw-r--r--src/libs/client/OSCEngineSender.hpp4
2 files changed, 22 insertions, 0 deletions
diff --git a/src/libs/client/OSCEngineSender.cpp b/src/libs/client/OSCEngineSender.cpp
index 1618f2a1..e3183f78 100644
--- a/src/libs/client/OSCEngineSender.cpp
+++ b/src/libs/client/OSCEngineSender.cpp
@@ -450,6 +450,24 @@ OSCEngineSender::set_port_value_immediate(const string& port_path,
}
}
+
+void
+OSCEngineSender::enable_port_broadcasting(const string& port_path)
+{
+ lo_send(_engine_addr, "/ingen/enable_port_broadcasting", "is",
+ next_id(),
+ port_path.c_str());
+}
+
+
+void
+OSCEngineSender::disable_port_broadcasting(const string& port_path)
+{
+ lo_send(_engine_addr, "/ingen/disable_port_broadcasting", "is",
+ next_id(),
+ port_path.c_str());
+}
+
void
OSCEngineSender::set_program(const string& node_path,
diff --git a/src/libs/client/OSCEngineSender.hpp b/src/libs/client/OSCEngineSender.hpp
index c91dfbbd..c97c4e94 100644
--- a/src/libs/client/OSCEngineSender.hpp
+++ b/src/libs/client/OSCEngineSender.hpp
@@ -132,6 +132,10 @@ public:
uint32_t voice,
uint32_t data_size,
const void* data);
+
+ void enable_port_broadcasting(const string& port_path);
+
+ void disable_port_broadcasting(const string& port_path);
void set_program(const string& node_path,
uint32_t bank,