policy.conf 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # WirePlumber daemon context configuration #
  2. context.properties = {
  3. ## Properties to configure the PipeWire context and some modules
  4. application.name = "WirePlumber Policy"
  5. log.level = 2
  6. wireplumber.script-engine = lua-scripting
  7. wireplumber.export-core = false
  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. audio.convert.* = audioconvert/libspa-audioconvert
  19. support.* = support/libspa-support
  20. }
  21. context.modules = [
  22. #{ name = <module-name>
  23. # [ args = { <key> = <value> ... } ]
  24. # [ flags = [ [ ifexists ] [ nofail ] ]
  25. #}
  26. #
  27. # PipeWire modules to load.
  28. # If ifexists is given, the module is ignored when it is not found.
  29. # If nofail is given, module initialization failures are ignored.
  30. #
  31. # The native communication protocol.
  32. { name = libpipewire-module-protocol-native }
  33. # Allows creating nodes that run in the context of the
  34. # client. Is used by all clients that want to provide
  35. # data to PipeWire.
  36. { name = libpipewire-module-client-node }
  37. # Allows creating devices that run in the context of the
  38. # client. Is used by the session manager.
  39. { name = libpipewire-module-client-device }
  40. # Makes a factory for wrapping nodes in an adapter with a
  41. # converter and resampler.
  42. { name = libpipewire-module-adapter }
  43. # Allows applications to create metadata objects. It creates
  44. # a factory for Metadata objects.
  45. { name = libpipewire-module-metadata }
  46. # Provides factories to make session manager objects.
  47. { name = libpipewire-module-session-manager }
  48. ]
  49. wireplumber.components = [
  50. #{ name = <component-name>, type = <component-type> }
  51. #
  52. # WirePlumber components to load
  53. #
  54. # The lua scripting engine
  55. { name = libwireplumber-module-lua-scripting, type = module }
  56. # The lua configuration file
  57. # Other components are loaded from there
  58. { name = policy.lua, type = config/lua }
  59. ]