diff options
author | David Robillard <d@drobilla.net> | 2010-11-30 23:01:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-11-30 23:01:30 +0000 |
commit | 27c3aec25ca4eefa88df64b63d50ed4451bec190 (patch) | |
tree | 9ec17eeb9ad9080cca2f3a350afe31d696c68638 /src/engine/ConnectionImpl.cpp | |
parent | d2f94aa4fd3472ff86fea5abe7a58d15a90d3264 (diff) | |
download | ingen-27c3aec25ca4eefa88df64b63d50ed4451bec190.tar.gz ingen-27c3aec25ca4eefa88df64b63d50ed4451bec190.tar.bz2 ingen-27c3aec25ca4eefa88df64b63d50ed4451bec190.zip |
Consistent naming for URI quarks.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2678 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/ConnectionImpl.cpp')
-rw-r--r-- | src/engine/ConnectionImpl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index 43f9136a..40530694 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -142,16 +142,16 @@ ConnectionImpl::can_connect(const OutputPort* src, const InputPort* dst) && (dst->is_a(PortType::MESSAGE) || dst->is_a(PortType::VALUE))) // Control => atom:Float32 Value - || (src->is_a(PortType::CONTROL) && dst->supports(uris.object_class_float32)) + || (src->is_a(PortType::CONTROL) && dst->supports(uris.atom_Float32)) // Audio => atom:Vector Value - || (src->is_a(PortType::AUDIO) && dst->supports(uris.object_class_vector)) + || (src->is_a(PortType::AUDIO) && dst->supports(uris.atom_Vector)) // atom:Float32 Value => Control - || (src->supports(uris.object_class_float32) && dst->is_a(PortType::CONTROL)) + || (src->supports(uris.atom_Float32) && dst->is_a(PortType::CONTROL)) // atom:Vector Value => Audio - || (src->supports(uris.object_class_vector) && dst->is_a(PortType::AUDIO))); + || (src->supports(uris.atom_Vector) && dst->is_a(PortType::AUDIO))); } |