Lower the realtime priority to 5

JACK runs with priority 10 by default, so that should probably be
getting priority here.
This commit is contained in:
Robbert van der Helm
2020-07-24 23:26:46 +02:00
parent 1c76499e14
commit e3282df7cd
+1 -1
View File
@@ -19,6 +19,6 @@
#include <sched.h>
bool set_realtime_priority() {
sched_param params{.sched_priority = 10};
sched_param params{.sched_priority = 5};
return sched_setscheduler(0, SCHED_FIFO, &params) == 0;
}