From 8b3d0f04c13493e6026f4609a4f8138273e01c62 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 19 Nov 2012 21:31:44 +0000 Subject: tweak config param for automation sampling interval, set to 500msec by default, and expose in prefs dialog git-svn-id: svn://localhost/ardour2/branches/3.0@13533 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/automation_watch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/automation_watch.cc') diff --git a/libs/ardour/automation_watch.cc b/libs/ardour/automation_watch.cc index 7f67bb2c03..0fa98f2133 100644 --- a/libs/ardour/automation_watch.cc +++ b/libs/ardour/automation_watch.cc @@ -132,7 +132,7 @@ void AutomationWatch::thread () { while (_run_thread) { - usleep (100000); // Config->get_automation_interval() * 10); + usleep ((useconds_t) floor (Config->get_automation_interval_msecs() * 1000)); timer (); } } -- cgit v1.2.3