summaryrefslogtreecommitdiffstats
path: root/src/server/internals
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-02 19:19:24 +0000
committerDavid Robillard <d@drobilla.net>2013-02-02 19:19:24 +0000
commit949257d4b1451e99f6db5a4a1d3f9aa143d595e9 (patch)
treef8fc73dc7848ac312829fbc8da36d7a3df4a57ac /src/server/internals
parent3265e8f01cd4e878661973730349a5ed44329713 (diff)
downloadingen-949257d4b1451e99f6db5a4a1d3f9aa143d595e9.tar.gz
ingen-949257d4b1451e99f6db5a4a1d3f9aa143d595e9.tar.bz2
ingen-949257d4b1451e99f6db5a4a1d3f9aa143d595e9.zip
Fix trigger and controller learn updating.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5027 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/internals')
-rw-r--r--src/server/internals/Controller.cpp2
-rw-r--r--src/server/internals/Trigger.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/internals/Controller.cpp b/src/server/internals/Controller.cpp
index cad0aac4..5c3bf6f6 100644
--- a/src/server/internals/Controller.cpp
+++ b/src/server/internals/Controller.cpp
@@ -118,7 +118,7 @@ ControllerNode::control(ProcessContext& context, uint8_t control_num, uint8_t va
// FIXME: not thread safe
_param_port->set_value(context.engine().world()->forge().make(control_num));
_param_port->set_control_value(context, time, control_num);
- _param_port->monitor(context);
+ _param_port->monitor(context, true);
_learning = false;
}
diff --git a/src/server/internals/Trigger.cpp b/src/server/internals/Trigger.cpp
index c1c00b6b..6563e276 100644
--- a/src/server/internals/Trigger.cpp
+++ b/src/server/internals/Trigger.cpp
@@ -133,7 +133,7 @@ TriggerNode::note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity
// FIXME: not thread safe
_note_port->set_value(context.engine().world()->forge().make((float)note_num));
_note_port->set_control_value(context, time, (float)note_num);
- _note_port->monitor(context);
+ _note_port->monitor(context, true);
_learning = false;
}