mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
modules: Add module-rt
Add a module to set thread priorities without using rtkit.
This commit is contained in:
parent
fb55cc4786
commit
b1610d37fe
4 changed files with 270 additions and 0 deletions
|
|
@ -73,6 +73,17 @@ context.modules = [
|
|||
flags = [ ifexists nofail ]
|
||||
}
|
||||
|
||||
# Set thread priorities without using RTKit.
|
||||
#{ name = libpipewire-module-rt
|
||||
# args = {
|
||||
# nice.level = -11
|
||||
# rt.prio = 88
|
||||
# rt.time.soft = 200000
|
||||
# rt.time.hard = 200000
|
||||
# }
|
||||
# flags = [ ifexists nofail ]
|
||||
#}
|
||||
|
||||
# The native communication protocol.
|
||||
{ name = libpipewire-module-protocol-native }
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ RestrictNamespaces=yes
|
|||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@system-service
|
||||
Type=simple
|
||||
AmbientCapabilities=CAP_SYS_NICE
|
||||
ExecStart=@PW_BINARY@
|
||||
Restart=on-failure
|
||||
RuntimeDirectory=pipewire
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue