File rt.patch of Package pipewire
diff -wru pipewire-0.3.47-orig/src/daemon/client-rt.conf.in pipewire-0.3.47/src/daemon/client-rt.conf.in
--- pipewire-0.3.47-orig/src/daemon/client-rt.conf.in 2022-02-18 09:27:44.000000000 +0100
+++ pipewire-0.3.47/src/daemon/client-rt.conf.in 2022-02-18 15:40:47.152376086 +0100
@@ -42,9 +42,10 @@
# Uses realtime scheduling to boost the audio thread priorities
{ name = libpipewire-module-rt
args = {
- #rt.prio = 88
- #rt.time.soft = -1
- #rt.time.hard = -1
+ nice.level = -11
+ rt.prio = 88
+ rt.time.soft = -1
+ rt.time.hard = -1
}
flags = [ ifexists nofail ]
}
diff -wru pipewire-0.3.47-orig/src/daemon/jack.conf.in pipewire-0.3.47/src/daemon/jack.conf.in
--- pipewire-0.3.47-orig/src/daemon/jack.conf.in 2022-02-18 09:27:44.000000000 +0100
+++ pipewire-0.3.47/src/daemon/jack.conf.in 2022-02-18 15:40:35.108277459 +0100
@@ -42,9 +42,10 @@
# Boost the data thread priority.
{ name = libpipewire-module-rt
args = {
- #rt.prio = 88
- #rt.time.soft = -1
- #rt.time.hard = -1
+ nice.level = -11
+ rt.prio = 88
+ rt.time.soft = -1
+ rt.time.hard = -1
}
flags = [ ifexists nofail ]
}
diff -wru pipewire-0.3.47-orig/src/daemon/pipewire.conf.in pipewire-0.3.47/src/daemon/pipewire.conf.in
--- pipewire-0.3.47-orig/src/daemon/pipewire.conf.in 2022-02-18 09:27:44.000000000 +0100
+++ pipewire-0.3.47/src/daemon/pipewire.conf.in 2022-02-18 15:41:55.992928371 +0100
@@ -28,7 +28,7 @@
## Properties for the DSP configuration.
#default.clock.rate = 48000
#default.clock.allowed-rates = [ 48000 ]
- #default.clock.quantum = 1024
+ default.clock.quantum = 512
default.clock.min-quantum = 16
#default.clock.max-quantum = 2048
#default.clock.quantum-limit = 8192