summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-10 21:00:50 +0000
committerDavid Robillard <d@drobilla.net>2008-11-10 21:00:50 +0000
commit1423712f8e91dffde60c07d32b4de878bdcd3eae (patch)
treee83d7a8e3840a476bf7ac2cdb4252656f08b0133 /src/shared
parentfb76b922a4d3b0f7e49ea1dcb21fec0c3a236b3f (diff)
downloadingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.tar.gz
ingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.tar.bz2
ingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.zip
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
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Builder.cpp2
-rw-r--r--src/shared/ClashAvoider.cpp4
-rw-r--r--src/shared/ClashAvoider.hpp2
3 files changed, 4 insertions, 4 deletions
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<const GraphObject> object)
SharedPtr<const Port> port = PtrCast<const Port>(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,