Automation of LV2 plugin properties.
[ardour.git] / libs / ardour / automation_watch.cc
index 4e5f64bd32cff5336e42534720250260f7755ecb..5fa7285c674f11b585ac6beecf24259df72e9217 100644 (file)
@@ -124,7 +124,7 @@ AutomationWatch::timer ()
 
                for (AutomationWatches::iterator aw = automation_watches.begin(); aw != automation_watches.end(); ++aw) {
                        if ((*aw)->alist()->automation_write()) {
-                               (*aw)->list()->add (time, (*aw)->user_double());
+                               (*aw)->list()->add (time, (*aw)->user_double(), true);
                        }
                }
        }
@@ -136,7 +136,7 @@ void
 AutomationWatch::thread ()
 {
        while (_run_thread) {
-               Glib::usleep ((useconds_t) floor (Config->get_automation_interval_msecs() * 1000));
+               Glib::usleep ((gulong) floor (Config->get_automation_interval_msecs() * 1000));
                timer ();
        }
 }