From c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Sep 2007 23:51:00 +0000 Subject: Type oblivious set_port_value interface. git-svn-id: http://svn.drobilla.net/lad/ingen@765 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/EngineInterface.hpp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'src/common') 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, -- cgit v1.2.1