diff options
author | David Robillard <d@drobilla.net> | 2008-08-16 22:59:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-16 22:59:01 +0000 |
commit | d72ed9fd506756c83d97b62f6640135f3b8c32bb (patch) | |
tree | c79cd1e6b3c75d81231fc354a77653469f003caf /src/libs/client/OSCClientReceiver.cpp | |
parent | e9ea28e1efb241619606b937ecd2e97f7e23d897 (diff) | |
download | ingen-d72ed9fd506756c83d97b62f6640135f3b8c32bb.tar.gz ingen-d72ed9fd506756c83d97b62f6640135f3b8c32bb.tar.bz2 ingen-d72ed9fd506756c83d97b62f6640135f3b8c32bb.zip |
Closer...
git-svn-id: http://svn.drobilla.net/lad/ingen@1407 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/OSCClientReceiver.cpp')
-rw-r--r-- | src/libs/client/OSCClientReceiver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/client/OSCClientReceiver.cpp b/src/libs/client/OSCClientReceiver.cpp index 00c5c28f..c9398685 100644 --- a/src/libs/client/OSCClientReceiver.cpp +++ b/src/libs/client/OSCClientReceiver.cpp @@ -158,7 +158,7 @@ OSCClientReceiver::setup_callbacks() lo_server_thread_add_method(_st, "/ingen/new_port", "sisi", new_port_cb, this); lo_server_thread_add_method(_st, "/ingen/polyphonic", "sT", polyphonic_cb, this); lo_server_thread_add_method(_st, "/ingen/polyphonic", "sF", polyphonic_cb, this); - lo_server_thread_add_method(_st, "/ingen/variable_change", NULL, variable_change_cb, this); + lo_server_thread_add_method(_st, "/ingen/set_variable", NULL, set_variable_cb, this); lo_server_thread_add_method(_st, "/ingen/control_change", "sf", control_change_cb, this); lo_server_thread_add_method(_st, "/ingen/port_activity", "s", port_activity_cb, this); lo_server_thread_add_method(_st, "/ingen/program_add", "siis", program_add_cb, this); @@ -305,7 +305,7 @@ OSCClientReceiver::_polyphonic_cb(const char* path, const char* types, lo_arg** /** Notification of a new or updated piece of variable. */ int -OSCClientReceiver::_variable_change_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) +OSCClientReceiver::_set_variable_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) { if (argc != 3 || types[0] != 's' || types[1] != 's') return 1; @@ -315,7 +315,7 @@ OSCClientReceiver::_variable_change_cb(const char* path, const char* types, lo_a Atom value = AtomLiblo::lo_arg_to_atom(types[2], argv[2]); - variable_change(obj_path, key, value); + set_variable(obj_path, key, value); return 0; } |