30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# https://old.reddit.com/r/linux_gaming/comments/14rghc5/solution_crackly_audio_while_gaming_w_pipewire/
|
|
|
|
context.modules = [
|
|
#{ name = <module-name>
|
|
# ( args = { <key> = <value> ... } )
|
|
# ( flags = [ ( ifexists ) ( nofail ) ] )
|
|
# ( condition = [ { <key> = <value> ... } ... ] )
|
|
#}
|
|
#
|
|
# Loads a module with the given parameters.
|
|
# If ifexists is given, the module is ignored when it is not found.
|
|
# If nofail is given, module initialization failures are ignored.
|
|
# If condition is given, the module is loaded only when the context
|
|
# properties all match the match rules.
|
|
#
|
|
|
|
# Uses realtime scheduling to boost the audio thread priorities. This uses
|
|
# RTKit if the user doesn't have permission to use regular realtime
|
|
# scheduling.
|
|
{ name = libpipewire-module-rt
|
|
args = {
|
|
nice.level = -20
|
|
rt.prio = 90
|
|
rt.time.soft = 200000
|
|
rt.time.hard = 200000
|
|
}
|
|
flags = [ ifexists nofail ]
|
|
}
|
|
]
|