summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_watch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/automation_watch.cc')
-rw-r--r--libs/ardour/automation_watch.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/automation_watch.cc b/libs/ardour/automation_watch.cc
index a7a7a36eed..c949509d09 100644
--- a/libs/ardour/automation_watch.cc
+++ b/libs/ardour/automation_watch.cc
@@ -22,6 +22,7 @@
#include <glibmm/timer.h>
#include "pbd/compose.h"
+#include "pbd/pthread_utils.h"
#include "ardour/automation_control.h"
#include "ardour/automation_watch.h"
@@ -185,6 +186,7 @@ AutomationWatch::timer ()
void
AutomationWatch::thread ()
{
+ pbd_set_thread_priority (pthread_self(), SCHED_FIFO, -25);
while (_run_thread) {
Glib::usleep ((gulong) floor (Config->get_automation_interval_msecs() * 1000));
timer ();