diff options
author | David Robillard <d@drobilla.net> | 2010-02-04 01:29:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-04 01:29:34 +0000 |
commit | 36dc6bdb6d9b96e2a18acbe6c681a842d1590fb6 (patch) | |
tree | eb01898024d18a0d1463a03cbcfaeb0a7e3956c4 /src/engine/events | |
parent | aef3c9348218029a077f40081fd078a9e2ee85ca (diff) | |
download | ingen-36dc6bdb6d9b96e2a18acbe6c681a842d1590fb6.tar.gz ingen-36dc6bdb6d9b96e2a18acbe6c681a842d1590fb6.tar.bz2 ingen-36dc6bdb6d9b96e2a18acbe6c681a842d1590fb6.zip |
MIDI feedback.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2418 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r-- | src/engine/events/CreatePort.cpp | 2 | ||||
-rw-r--r-- | src/engine/events/SetMetadata.cpp | 2 | ||||
-rw-r--r-- | src/engine/events/SetPortValue.cpp | 5 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/engine/events/CreatePort.cpp b/src/engine/events/CreatePort.cpp index 7b63f6c5..b12f25dc 100644 --- a/src/engine/events/CreatePort.cpp +++ b/src/engine/events/CreatePort.cpp @@ -137,7 +137,7 @@ CreatePort::execute(ProcessContext& context) if (_patch_port) { _engine.maid()->push(_patch->external_ports()); _patch->external_ports(_ports_array); - _engine.control_bindings()->update_port(context, _patch_port); + _engine.control_bindings()->port_binding_changed(context, _patch_port); } if (_driver_port) { diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp index 8165f554..9b615a49 100644 --- a/src/engine/events/SetMetadata.cpp +++ b/src/engine/events/SetMetadata.cpp @@ -257,7 +257,7 @@ SetMetadata::execute(ProcessContext& context) break; case CONTROL_BINDING: if ((port = dynamic_cast<PortImpl*>(_object))) - _engine.control_bindings()->update_port(context, port); + _engine.control_bindings()->port_binding_changed(context, port); default: _success = true; } diff --git a/src/engine/events/SetPortValue.cpp b/src/engine/events/SetPortValue.cpp index aaa387b0..892abb67 100644 --- a/src/engine/events/SetPortValue.cpp +++ b/src/engine/events/SetPortValue.cpp @@ -23,8 +23,9 @@ #include "shared/LV2Object.hpp" #include "module/World.hpp" #include "AudioBuffer.hpp" -#include "Driver.hpp" #include "ClientBroadcaster.hpp" +#include "ControlBindings.hpp" +#include "Driver.hpp" #include "Engine.hpp" #include "EngineStore.hpp" #include "EventBuffer.hpp" @@ -33,6 +34,7 @@ #include "ObjectBuffer.hpp" #include "PortImpl.hpp" #include "ProcessContext.hpp" +#include "ProcessContext.hpp" #include "Request.hpp" #include "SetPortValue.hpp" @@ -143,6 +145,7 @@ SetPortValue::execute(ProcessContext& context) return; apply(context); + _engine.control_bindings()->port_value_changed(context, _port); } |