From 1423712f8e91dffde60c07d32b4de878bdcd3eae Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Nov 2008 21:00:50 +0000 Subject: Turn off OSC debug dumping in engine. Shuffle new_port parameters to make more sense for no particular reason. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1715 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/Builder.cpp | 2 +- src/shared/ClashAvoider.cpp | 4 ++-- src/shared/ClashAvoider.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/shared') diff --git a/src/shared/Builder.cpp b/src/shared/Builder.cpp index 48950e2e..28833fc9 100644 --- a/src/shared/Builder.cpp +++ b/src/shared/Builder.cpp @@ -66,7 +66,7 @@ Builder::build(const Raul::Path& prefix, SharedPtr object) SharedPtr port = PtrCast(object); if (port) { Raul::Path path = prefix.base() + port->path().substr(1); - _interface.new_port(path, port->index(), port->type().uri(), !port->is_input()); + _interface.new_port(path, port->type().uri(), port->index(), !port->is_input()); build_object(prefix, object); return; } diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index d5d1d245..ca322b74 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -144,11 +144,11 @@ ClashAvoider::new_node(const std::string& path, void ClashAvoider::new_port(const std::string& path, + const std::string& type, uint32_t index, - const std::string& data_type, bool is_output) { - _target.new_port(map_path(path), index, data_type, is_output); + _target.new_port(map_path(path), type, index, is_output); } diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp index c6501b5f..ac2d62bb 100644 --- a/src/shared/ClashAvoider.hpp +++ b/src/shared/ClashAvoider.hpp @@ -56,8 +56,8 @@ public: const std::string& plugin_uri); void new_port(const std::string& path, + const std::string& type, uint32_t index, - const std::string& data_type, bool is_output); void connect(const std::string& src_port_path, -- cgit v1.2.1