X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fautomation_watch.cc;h=5fa7285c674f11b585ac6beecf24259df72e9217;hb=aa0effb4cb38f4c3a06564bd9e6a0ee516d4f958;hp=4e5f64bd32cff5336e42534720250260f7755ecb;hpb=650964f3203319b013c49a286b5fc5fc203f3bbb;p=ardour.git diff --git a/libs/ardour/automation_watch.cc b/libs/ardour/automation_watch.cc index 4e5f64bd32..5fa7285c67 100644 --- a/libs/ardour/automation_watch.cc +++ b/libs/ardour/automation_watch.cc @@ -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 (); } }