diff options
author | David Robillard <d@drobilla.net> | 2008-09-28 22:04:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-28 22:04:26 +0000 |
commit | 3593abd69807674d9949134f1ad2b7f5a9f69dc2 (patch) | |
tree | be81356499f0835a0955deb690b966d6e1a1914b /src/libs/client/OSCEngineSender.cpp | |
parent | 97c3b4ba12052b47ec41dc6aded5f1fc84e67c8f (diff) | |
download | ingen-3593abd69807674d9949134f1ad2b7f5a9f69dc2.tar.gz ingen-3593abd69807674d9949134f1ad2b7f5a9f69dc2.tar.bz2 ingen-3593abd69807674d9949134f1ad2b7f5a9f69dc2.zip |
Merge weird split set_port_value / set_port_value_immediately API (whether a command is queued or 'immediate' is a property of the engine interface, really).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1532 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/OSCEngineSender.cpp')
-rw-r--r-- | src/libs/client/OSCEngineSender.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/libs/client/OSCEngineSender.cpp b/src/libs/client/OSCEngineSender.cpp index e274f72b..c21d16ce 100644 --- a/src/libs/client/OSCEngineSender.cpp +++ b/src/libs/client/OSCEngineSender.cpp @@ -287,36 +287,6 @@ OSCEngineSender::set_voice_value(const string& port_path, void -OSCEngineSender::set_port_value_immediate(const string& port_path, - const Raul::Atom& value) -{ - lo_message m = lo_message_new(); - lo_message_add_int32(m, next_id()); - lo_message_add_string(m, port_path.c_str()); - if (value.type() == Atom::BLOB) - lo_message_add_string(m, value.get_blob_type()); - Raul::AtomLiblo::lo_message_add_atom(m, value); - send_message("/ingen/set_port_value_immediate", m); -} - - -void -OSCEngineSender::set_voice_value_immediate(const string& port_path, - uint32_t voice, - const Raul::Atom& value) -{ - lo_message m = lo_message_new(); - lo_message_add_int32(m, next_id()); - lo_message_add_string(m, port_path.c_str()); - lo_message_add_int32(m, voice); - if (value.type() == Atom::BLOB) - lo_message_add_string(m, value.get_blob_type()); - Raul::AtomLiblo::lo_message_add_atom(m, value); - send_message("/ingen/set_port_value_immediate", m); -} - - -void OSCEngineSender::set_program(const string& node_path, uint32_t bank, uint32_t program) |