From 6ec390d53a3dbea90e7308c9e40e03266f5d5127 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Nov 2009 00:38:45 +0000 Subject: Rename DataType to PortType (since that's what it really means). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2273 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/Delete.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/events/Delete.cpp') diff --git a/src/engine/events/Delete.cpp b/src/engine/events/Delete.cpp index aa773176..3c27ea94 100644 --- a/src/engine/events/Delete.cpp +++ b/src/engine/events/Delete.cpp @@ -153,9 +153,9 @@ Delete::execute(ProcessContext& context) _port->parent_patch()->external_ports(_ports_array); if ( ! _port->parent_patch()->parent()) { - if (_port->type() == DataType::AUDIO) + if (_port->type() == PortType::AUDIO) _driver_port = _engine.audio_driver()->remove_port(_port->path()); - else if (_port->type() == DataType::EVENTS) + else if (_port->type() == PortType::EVENTS) _driver_port = _engine.midi_driver()->remove_port(_port->path()); // Apparently this needs to be called in post_process?? -- cgit v1.2.1