From e2cf858f6a40c55c7d16ef657c02c68ca6d7cfa4 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 16 Jan 2022 15:57:02 +0100 Subject: [PATCH] module-rt: Don't override acquire_rt priority --- src/modules/module-rt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/module-rt.c b/src/modules/module-rt.c index 181246809..23458b592 100644 --- a/src/modules/module-rt.c +++ b/src/modules/module-rt.c @@ -682,10 +682,6 @@ static int impl_acquire_rt(void *data, struct spa_thread *thread, int priority) pthread_t pt = (pthread_t)thread; pid_t pid; - // XXX: Why does the priority from the configuration override the passed - // priority? The original `module-rt` just uses `priority`. - priority = impl->rt_prio; - if (impl->use_rtkit) { rtprio_limit = pw_rtkit_get_max_realtime_priority(impl->system_bus); if (rtprio_limit >= 0)