summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-22 23:51:00 +0000
committerDavid Robillard <d@drobilla.net>2007-09-22 23:51:00 +0000
commitc1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9 (patch)
tree1baf40b7a90bc96c4b0832103ff0cdabdf1ed1a6 /src/common
parent4bd53e016b8bb912e48d77e756720516d876d5c2 (diff)
downloadingen-c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9.tar.gz
ingen-c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9.tar.bz2
ingen-c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9.zip
Type oblivious set_port_value interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@765 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/EngineInterface.hpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp
index 3d28bbd2..ac4d3395 100644
--- a/src/common/interface/EngineInterface.hpp
+++ b/src/common/interface/EngineInterface.hpp
@@ -95,17 +95,25 @@ public:
virtual void disconnect(const string& src_port_path,
const string& dst_port_path) = 0;
- virtual void disconnect_all(const string& node_path) = 0;
+ virtual void disconnect_all(const string& path) = 0;
virtual void set_port_value(const string& port_path,
- float val) = 0;
+ uint32_t data_size,
+ const void* data) = 0;
virtual void set_port_value(const string& port_path,
uint32_t voice,
- float val) = 0;
+ uint32_t data_size,
+ const void* data) = 0;
- virtual void set_port_value_queued(const string& port_path,
- float val) = 0;
+ virtual void set_port_value_immediate(const string& port_path,
+ uint32_t data_size,
+ const void* data) = 0;
+
+ virtual void set_port_value_immediate(const string& port_path,
+ uint32_t voice,
+ uint32_t data_size,
+ const void* data) = 0;
virtual void set_program(const string& node_path,
uint32_t bank,