From 612850c41b880ef2971a87cd1afa50c077b32c8d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Oct 2008 02:19:12 +0000 Subject: [PATCH] Apply automation fix patch from torbenh. git-svn-id: svn://localhost/ardour2/branches/3.0@3847 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/automation_control.cc | 2 +- libs/ardour/route.cc | 3 ++- 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); } }