summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-28 21:20:43 +0000
committerDavid Robillard <d@drobilla.net>2008-09-28 21:20:43 +0000
commit598c3cc958a9ff90db68799adc2638b053219eef (patch)
tree6d29ce9e6e1c0b716da573bd763d1c8ffcbabb06 /libs/ardour/automatable.cc
parentedbe4a330768c76031eaa82ed9d9aba335d00c3e (diff)
Fix shadowing problem with *Control::set_value.
Fix nasty situation when setting value on a plugin automation control that's playing back. git-svn-id: svn://localhost/ardour2/branches/3.0@3823 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index a54bad5f6f..ea14fa648b 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -361,7 +361,7 @@ Automatable::automation_snapshot (nframes_t now, bool force)
boost::shared_ptr<AutomationControl> c
= boost::dynamic_pointer_cast<AutomationControl>(i->second);
if (c->automation_write()) {
- c->list()->rt_add (now, i->second->user_value());
+ c->list()->rt_add (now, i->second->user_float());
}
}