NauTiluS1

pipewire-client-rt.conf

Dec 4th, 2025
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.37 KB | None | 0 0
  1. # Real-time Client config file for PipeWire version "0.3.26" #
  2.  
  3. context.properties = {
  4.     ## Configure properties in the system.
  5.     #mem.warn-mlock  = false
  6.     #mem.allow-mlock = true
  7.     #mem.mlock-all   = false
  8.     log.level        = 0
  9. }
  10.  
  11. context.spa-libs = {
  12.     #<factory-name regex> = <library-name>
  13.     #
  14.     # Used to find spa factory names. It maps an spa factory name
  15.     # regular expression to a library name that should contain
  16.     # that factory.
  17.     #
  18.     audio.convert.* = audioconvert/libspa-audioconvert
  19.     support.*       = support/libspa-support
  20. }
  21.  
  22. context.modules = [
  23.     #{   name = <module-name>
  24.     #    [ args = { <key> = <value> ... } ]
  25.     #    [ flags = [ [ ifexists ] [ nofail ] ]
  26.     #}
  27.     #
  28.     # Loads a module with the given parameters.
  29.     # If ifexists is given, the module is ignored when it is not found.
  30.     # If nofail is given, module initialization failures are ignored.
  31.     #
  32.     # Uses RTKit to boost the data thread priority.
  33.     {   name = libpipewire-module-rtkit
  34.         args = {
  35.             nice.level   = -11
  36.             rt.prio      = 88
  37.             rt.time.soft = 200000
  38.             rt.time.hard = 200000
  39.         }
  40.         flags = [ ifexists nofail ]
  41.     }
  42.  
  43.     # The native communication protocol.
  44.     {   name = libpipewire-module-protocol-native }
  45.  
  46.     # Allows creating nodes that run in the context of the
  47.     # client. Is used by all clients that want to provide
  48.     # data to PipeWire.
  49.     {   name = libpipewire-module-client-node }
  50.  
  51.     # Allows creating devices that run in the context of the
  52.     # client. Is used by the session manager.
  53.     {   name = libpipewire-module-client-device }
  54.  
  55.     # Makes a factory for wrapping nodes in an adapter with a
  56.     # converter and resampler.
  57.     {   name = libpipewire-module-adapter }
  58.  
  59.     # Allows applications to create metadata objects. It creates
  60.     # a factory for Metadata objects.
  61.     {   name = libpipewire-module-metadata }
  62.  
  63.     # Provides factories to make session manager objects.
  64.     {   name = libpipewire-module-session-manager }
  65. ]
  66.  
  67. filter.properties = {
  68.     node.latency = 1024/96000
  69. }
  70.  
  71. stream.properties = {
  72.     node.latency = 1024/96000
  73.     node.autoconnect = true
  74.     #resample.quality = 0
  75.     #channelmix.normalize = false
  76.     #channelmix.mix-lfe = true
  77.     #channelmix.upmix = false
  78.     #channelmix.lfe-cutoff = 0
  79. }
  80.  
Advertisement
Add Comment
Please, Sign In to add comment