Abstract definition of rt-scheduler policy
[ardour.git] / libs / ardour / automation_watch.cc
index c949509d091e88348cdf8bdb8801fec4e33214f3..ad05f3ac69b8db0bfac805a30d58dd39f85e6735 100644 (file)
@@ -186,7 +186,7 @@ AutomationWatch::timer ()
 void
 AutomationWatch::thread ()
 {
-       pbd_set_thread_priority (pthread_self(), SCHED_FIFO, -25);
+       pbd_set_thread_priority (pthread_self(), PBD_SCHED_FIFO, -25);
        while (_run_thread) {
                Glib::usleep ((gulong) floor (Config->get_automation_interval_msecs() * 1000));
                timer ();