mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-rt: Don't override acquire_rt priority
This commit is contained in:
parent
399e6f09d4
commit
e2cf858f6a
1 changed files with 0 additions and 4 deletions
|
|
@ -682,10 +682,6 @@ static int impl_acquire_rt(void *data, struct spa_thread *thread, int priority)
|
||||||
pthread_t pt = (pthread_t)thread;
|
pthread_t pt = (pthread_t)thread;
|
||||||
pid_t pid;
|
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) {
|
if (impl->use_rtkit) {
|
||||||
rtprio_limit = pw_rtkit_get_max_realtime_priority(impl->system_bus);
|
rtprio_limit = pw_rtkit_get_max_realtime_priority(impl->system_bus);
|
||||||
if (rtprio_limit >= 0)
|
if (rtprio_limit >= 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue