diff options
author | David Robillard <d@drobilla.net> | 2008-08-16 23:30:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-16 23:30:21 +0000 |
commit | 3dc90cc95df35e5c786857336f22856c6373b00f (patch) | |
tree | 5d59f52c6242e6a0fced015542bd966f33779815 /src/libs/engine/OSCClientSender.cpp | |
parent | d72ed9fd506756c83d97b62f6640135f3b8c32bb (diff) | |
download | ingen-3dc90cc95df35e5c786857336f22856c6373b00f.tar.gz ingen-3dc90cc95df35e5c786857336f22856c6373b00f.tar.bz2 ingen-3dc90cc95df35e5c786857336f22856c6373b00f.zip |
Clooser...
git-svn-id: http://svn.drobilla.net/lad/ingen@1408 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/OSCClientSender.cpp')
-rw-r--r-- | src/libs/engine/OSCClientSender.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/libs/engine/OSCClientSender.cpp b/src/libs/engine/OSCClientSender.cpp index 2c7b5825..c9b156db 100644 --- a/src/libs/engine/OSCClientSender.cpp +++ b/src/libs/engine/OSCClientSender.cpp @@ -289,23 +289,21 @@ OSCClientSender::plugins() * <p> \b /ingen/new_node - Notification of a new node's creation. * \arg \b plug-uri (string) - URI of the plugin new node is an instance of * \arg \b path (string) - Path of the new node - * \arg \b polyphonic (boolean) - Node is polyphonic - * \arg \b num-ports (integer) - Number of ports (number of new_port messages to expect)\n\n + * \arg \b polyphonic (boolean) - Node is polyphonic\n\n * \li New nodes are sent as a bundle. The first message in the bundle will be * this one (/ingen/new_node), followed by a series of /ingen/new_port commands, * followed by /ingen/new_node_end. </p> \n \n */ -void OSCClientSender::new_node(const std::string& plugin_uri, - const std::string& node_path, - bool is_polyphonic, - uint32_t num_ports) +void OSCClientSender::new_node(const std::string& node_path, + const std::string& plugin_uri, + bool is_polyphonic) { if (is_polyphonic) - send("/ingen/new_node", "ssTi", plugin_uri.c_str(), - node_path.c_str(), num_ports, LO_ARGS_END); + send("/ingen/new_node", "ssT", node_path.c_str(), + plugin_uri.c_str(), LO_ARGS_END); else - send("/ingen/new_node", "ssFi", plugin_uri.c_str(), - node_path.c_str(), num_ports, LO_ARGS_END); + send("/ingen/new_node", "ssF", node_path.c_str(), + plugin_uri.c_str(), LO_ARGS_END); } |