summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/ConnectionEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-23 20:36:46 +0000
committerDavid Robillard <d@drobilla.net>2007-07-23 20:36:46 +0000
commit54329f21625e52903009a89fc03c8ac966f2724c (patch)
tree592983305e4460f969c70d8fa57ca0d9a9def0af /src/libs/engine/events/ConnectionEvent.cpp
parent8c417dad8447ea1b45fbe772fd03fd277c4f9ee4 (diff)
downloadingen-54329f21625e52903009a89fc03c8ac966f2724c.tar.gz
ingen-54329f21625e52903009a89fc03c8ac966f2724c.tar.bz2
ingen-54329f21625e52903009a89fc03c8ac966f2724c.zip
Control <-> Audio connections.
git-svn-id: http://svn.drobilla.net/lad/ingen@603 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/ConnectionEvent.cpp')
-rw-r--r--src/libs/engine/events/ConnectionEvent.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libs/engine/events/ConnectionEvent.cpp b/src/libs/engine/events/ConnectionEvent.cpp
index dc4033cc..8952e281 100644
--- a/src/libs/engine/events/ConnectionEvent.cpp
+++ b/src/libs/engine/events/ConnectionEvent.cpp
@@ -76,14 +76,6 @@ ConnectionEvent::pre_process()
return;
}
- // FIXME: MIDI buffer size is a kluge all around
- if (_src_port->type() == DataType::FLOAT
- && _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);