From d6b87aa26ef482a8952437f7472b81a2240f01fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Jan 2008 15:14:53 +0000 Subject: Work on generic LV2 events. git-svn-id: http://svn.drobilla.net/lad/ingen@1090 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/ConnectionImpl.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/libs/engine/ConnectionImpl.cpp') diff --git a/src/libs/engine/ConnectionImpl.cpp b/src/libs/engine/ConnectionImpl.cpp index f2bfeda5..9cd6f3c9 100644 --- a/src/libs/engine/ConnectionImpl.cpp +++ b/src/libs/engine/ConnectionImpl.cpp @@ -56,7 +56,7 @@ ConnectionImpl::ConnectionImpl(PortImpl* src_port, PortImpl* dst_port) /*assert((src_port->parent_node()->poly() == dst_port->parent_node()->poly()) || (src_port->parent_node()->poly() == 1 || dst_port->parent_node()->poly() == 1));*/ - if (type() == DataType::MIDI || type() == DataType::OSC) + if (type() == DataType::EVENT) _must_mix = false; // FIXME: kludge if (_must_mix) @@ -167,13 +167,9 @@ ConnectionImpl::process(ProcessContext& context) if (src_port()->poly() > 1) mix_buf->scale(1.0f/(float)src_port()->poly(), 0, _buffer_size-1); - } else if (_must_mix && type() == DataType::MIDI) { + } else if (_must_mix && type() == DataType::EVENT) { - cerr << "WARNING: No MIDI mixing." << endl; - - } else if (_must_mix && type() == DataType::OSC) { - - cerr << "WARNING: No OSC mixing." << endl; + cerr << "WARNING: No event mixing." << endl; } -- cgit v1.2.1