summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
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,