mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
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:
@@ -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, ¶ms) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user