diff options
author | David Robillard <d@drobilla.net> | 2007-04-08 08:11:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-08 08:11:59 +0000 |
commit | b59584b387c4b77d09ba4c791eb711597f67c8c8 (patch) | |
tree | cef114efdfc9807124b243c09547cfb9f6004a48 /src/libs/engine/events | |
parent | e96c36c1a7abb062e36efc0ac95c35fedcef922e (diff) | |
download | ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.tar.gz ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.tar.bz2 ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.zip |
MIDI patching fixes (clean disconnecting).
git-svn-id: http://svn.drobilla.net/lad/ingen@416 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r-- | src/libs/engine/events/DisconnectionEvent.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libs/engine/events/DisconnectionEvent.cpp b/src/libs/engine/events/DisconnectionEvent.cpp index aef271f4..7ac7e236 100644 --- a/src/libs/engine/events/DisconnectionEvent.cpp +++ b/src/libs/engine/events/DisconnectionEvent.cpp @@ -92,12 +92,6 @@ DisconnectionEvent::pre_process() return; } - if (_src_port->type() != _dst_port->type() || _src_port->buffer_size() != _dst_port->buffer_size()) { - _error = TYPE_MISMATCH; - QueuedEvent::pre_process(); - return; - } - _dst_input_port = dynamic_cast<InputPort*>(_dst_port); _src_output_port = dynamic_cast<OutputPort*>(_src_port); assert(_src_output_port); |