Apply automation fix patch from torbenh.
authorDavid Robillard <d@drobilla.net>
Fri, 3 Oct 2008 02:19:12 +0000 (02:19 +0000)
committerDavid Robillard <d@drobilla.net>
Fri, 3 Oct 2008 02:19:12 +0000 (02:19 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3847 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/automation_control.cc
libs/ardour/route.cc

index 710fe449f88950731aee92406f6ed06f0b71de2e..2100265a87b513d7e217e17e1732f4c9d5caaaae 100644 (file)
@@ -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());
 
index a90a730ea68ff5828cc8f51fdb94b1142d20f874..740e5949b481904c2b0513b5eb805769188231c5 100644 (file)
@@ -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);
        }
 }