module-rt: use FIFO scheduling

FIFO scheduling is recommended for RT usage these days.
This commit is contained in:
Wim Taymans 2021-06-28 12:19:43 +02:00
parent 4fb878e449
commit de99fc3515

View file

@ -109,7 +109,7 @@ static void idle_func(struct spa_source *source)
{ {
struct impl *impl = source->data; struct impl *impl = source->data;
uint64_t count; uint64_t count;
int policy = SCHED_RR; int policy = SCHED_FIFO;
int rtprio = impl->rt_prio; int rtprio = impl->rt_prio;
struct rlimit rl; struct rlimit rl;
struct sched_param sp; struct sched_param sp;