From de99fc35159d3ff4d41bd4ab99d55f4103b26817 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 28 Jun 2021 12:19:43 +0200 Subject: [PATCH] module-rt: use FIFO scheduling FIFO scheduling is recommended for RT usage these days. --- src/modules/module-rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-rt.c b/src/modules/module-rt.c index c866abdb7..9c36c5144 100644 --- a/src/modules/module-rt.c +++ b/src/modules/module-rt.c @@ -109,7 +109,7 @@ static void idle_func(struct spa_source *source) { struct impl *impl = source->data; uint64_t count; - int policy = SCHED_RR; + int policy = SCHED_FIFO; int rtprio = impl->rt_prio; struct rlimit rl; struct sched_param sp;