wireplumber.conf 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # WirePlumber daemon context configuration #
  2. context.properties = {
  3. ## Properties to configure the PipeWire context and some modules
  4. #application.name = WirePlumber
  5. log.level = 2
  6. wireplumber.script-engine = lua-scripting
  7. #wireplumber.export-core = true
  8. #mem.mlock-all = false
  9. #support.dbus = true
  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. api.alsa.* = alsa/libspa-alsa
  19. api.bluez5.* = bluez5/libspa-bluez5
  20. api.v4l2.* = v4l2/libspa-v4l2
  21. api.libcamera.* = libcamera/libspa-libcamera
  22. audio.convert.* = audioconvert/libspa-audioconvert
  23. support.* = support/libspa-support
  24. }
  25. context.modules = [
  26. #{ name = <module-name>
  27. # [ args = { <key> = <value> ... } ]
  28. # [ flags = [ [ ifexists ] [ nofail ] ]
  29. #}
  30. #
  31. # PipeWire modules to load.
  32. # If ifexists is given, the module is ignored when it is not found.
  33. # If nofail is given, module initialization failures are ignored.
  34. #
  35. # Uses RTKit to boost the data thread priority.
  36. { name = libpipewire-module-rt
  37. args = {
  38. nice.level = -11
  39. #rt.prio = 88
  40. #rt.time.soft = -1
  41. #rt.time.hard = -1
  42. }
  43. flags = [ ifexists nofail ]
  44. }
  45. # The native communication protocol.
  46. { name = libpipewire-module-protocol-native }
  47. # Allows creating nodes that run in the context of the
  48. # client. Is used by all clients that want to provide
  49. # data to PipeWire.
  50. { name = libpipewire-module-client-node }
  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. # Makes a factory for wrapping nodes in an adapter with a
  55. # converter and resampler.
  56. { name = libpipewire-module-adapter }
  57. # Allows applications to create metadata objects. It creates
  58. # a factory for Metadata objects.
  59. { name = libpipewire-module-metadata }
  60. # Provides factories to make session manager objects.
  61. { name = libpipewire-module-session-manager }
  62. # Provides factories to make SPA node objects.
  63. { name = libpipewire-module-spa-node-factory }
  64. ]
  65. wireplumber.components = [
  66. #{ name = <component-name>, type = <component-type> }
  67. #
  68. # WirePlumber components to load
  69. #
  70. # The lua scripting engine
  71. { name = libwireplumber-module-lua-scripting, type = module }
  72. # The lua configuration file(s)
  73. # Other components are loaded from there
  74. { name = main.lua, type = config/lua }
  75. { name = policy.lua, type = config/lua }
  76. { name = bluetooth.lua, type = config/lua }
  77. ]