summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-03 02:19:12 +0000
committerDavid Robillard <d@drobilla.net>2008-10-03 02:19:12 +0000
commit612850c41b880ef2971a87cd1afa50c077b32c8d (patch)
treeaf16093f54da2ba496252184671bd733eef0e76a /libs
parent620475f9accf006c21f47770ce0a415ea36940c4 (diff)
Apply automation fix patch from torbenh.
git-svn-id: svn://localhost/ardour2/branches/3.0@3847 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/automation_control.cc2
-rw-r--r--libs/ardour/route.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc
index 710fe449f8..2100265a87 100644
--- a/libs/ardour/automation_control.cc
+++ b/libs/ardour/automation_control.cc
@@ -53,7 +53,7 @@ void
AutomationControl::set_value(float value)
{
bool to_list = _list && _session.transport_stopped()
- && ((AutomationList*)_list.get())->automation_playback();
+ && ((AutomationList*)_list.get())->automation_write();
Control::set_float(value, to_list, _session.transport_frame());
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index a90a730ea6..740e5949b4 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2993,8 +2993,9 @@ Route::automation_snapshot (nframes_t now, bool force)
return;
}
+ IO::automation_snapshot (now, force);
+
for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
- // IO::automation_snapshot (now, force); ?
(*i)->automation_snapshot (now, force);
}
}