diff options
author | David Robillard <d@drobilla.net> | 2010-02-02 01:22:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-02 01:22:20 +0000 |
commit | c1ac1f31457708db618143f54a3dfef7eb3361aa (patch) | |
tree | 88c91e75f4a90cf6efab9ab6f8219d53dd5b892f /src/client/OSCClientReceiver.cpp | |
parent | 6e8877ee110b774caef800adbe35b21338b3372f (diff) | |
download | ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.tar.gz ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.tar.bz2 ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.zip |
Remove set_port_value from CommonInterface (replaced with set_property(path, "ingen:value", value)).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2404 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/OSCClientReceiver.cpp')
-rw-r--r-- | src/client/OSCClientReceiver.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp index 09687f2c..faccef15 100644 --- a/src/client/OSCClientReceiver.cpp +++ b/src/client/OSCClientReceiver.cpp @@ -150,7 +150,6 @@ OSCClientReceiver::setup_callbacks() lo_server_thread_add_method(_st, "/ingen/disconnection", "ss", disconnection_cb, this); lo_server_thread_add_method(_st, "/ingen/new_port", "sisi", new_port_cb, this); lo_server_thread_add_method(_st, "/ingen/set_property", NULL, set_property_cb, this); - lo_server_thread_add_method(_st, "/ingen/set_port_value", "sf", set_port_value_cb, this); lo_server_thread_add_method(_st, "/ingen/set_voice_value", "sif", set_voice_value_cb, this); lo_server_thread_add_method(_st, "/ingen/activity", "s", activity_cb, this); } @@ -238,18 +237,6 @@ OSCClientReceiver::_set_property_cb(const char* path, const char* types, lo_arg* int -OSCClientReceiver::_set_port_value_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) -{ - const char* const port_path = &argv[0]->s; - const float value = argv[1]->f; - - _target->set_port_value(port_path, value); - - return 0; -} - - -int OSCClientReceiver::_set_voice_value_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) { const char* const port_path = &argv[0]->s; |