diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 16:21:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 16:21:37 +0000 |
commit | 76500fc464ffa1cdeec0d90c466783fe1b3ac07d (patch) | |
tree | 9fa9cc85e1dfdd1fda72370927cf7d8c0801f191 /src/client/OSCClientReceiver.cpp | |
parent | 878a4a2d056f42c18ba1f0830ded9a1820e9192d (diff) | |
download | ingen-76500fc464ffa1cdeec0d90c466783fe1b3ac07d.tar.gz ingen-76500fc464ffa1cdeec0d90c466783fe1b3ac07d.tar.bz2 ingen-76500fc464ffa1cdeec0d90c466783fe1b3ac07d.zip |
Remove old/unused DSSI program API.
If/when LV2 gets programs this should be implemented through the generic property based interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2001 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/OSCClientReceiver.cpp')
-rw-r--r-- | src/client/OSCClientReceiver.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp index 8270750d..dac558f5 100644 --- a/src/client/OSCClientReceiver.cpp +++ b/src/client/OSCClientReceiver.cpp @@ -156,8 +156,6 @@ OSCClientReceiver::setup_callbacks() 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); - lo_server_thread_add_method(_st, "/ingen/program_add", "siis", program_add_cb, this); - lo_server_thread_add_method(_st, "/ingen/program_remove", "sii", program_remove_cb, this); } @@ -363,32 +361,5 @@ OSCClientReceiver::_plugin_cb(const char* path, const char* types, lo_arg** argv } -int -OSCClientReceiver::_program_add_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) -{ - const char* node_path = &argv[0]->s; - int32_t bank = argv[1]->i; - int32_t program = argv[2]->i; - const char* name = &argv[3]->s; - - _target->program_add(node_path, bank, program, name); - - return 0; -} - - -int -OSCClientReceiver::_program_remove_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) -{ - const char* node_path = &argv[0]->s; - int32_t bank = argv[1]->i; - int32_t program = argv[2]->i; - - _target->program_remove(node_path, bank, program); - - return 0; -} - - } // namespace Client } // namespace Ingen |