From 27c3aec25ca4eefa88df64b63d50ed4451bec190 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 30 Nov 2010 23:01:30 +0000 Subject: Consistent naming for URI quarks. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2678 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/ConnectionImpl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/engine/ConnectionImpl.cpp') 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))); } -- cgit v1.2.1