From d5a514148bec58cd7e97d032259362b2e19c0e95 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Jan 2010 01:43:54 +0000 Subject: Magic MIDI binding via special ingen_control port. Always set lv2:minimum and lv2:maximum properties for control ports so they show up in properties dialog (and can be used for MIDI binding). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2391 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/SendPortValue.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/engine/events/SendPortValue.cpp') diff --git a/src/engine/events/SendPortValue.cpp b/src/engine/events/SendPortValue.cpp index 4088568f..1052033b 100644 --- a/src/engine/events/SendPortValue.cpp +++ b/src/engine/events/SendPortValue.cpp @@ -30,12 +30,10 @@ namespace Events { void SendPortValue::post_process() { - // FIXME... - if (_omni) { _engine.broadcaster()->set_port_value(_port->path(), _value); } else { - _engine.broadcaster()->set_port_value(_port->path(), _value); + _engine.broadcaster()->set_voice_value(_port->path(), _voice_num, _value); } } -- cgit v1.2.1