main.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. #mem.mlock-all = false
  8. #support.dbus = true
  9. }
  10. context.spa-libs = {
  11. #<factory-name regex> = <library-name>
  12. #
  13. # Used to find spa factory names. It maps an spa factory name
  14. # regular expression to a library name that should contain
  15. # that factory.
  16. #
  17. api.alsa.* = alsa/libspa-alsa
  18. api.v4l2.* = v4l2/libspa-v4l2
  19. audio.convert.* = audioconvert/libspa-audioconvert
  20. support.* = support/libspa-support
  21. }
  22. context.modules = [
  23. #{ name = <module-name>
  24. # [ args = { <key> = <value> ... } ]
  25. # [ flags = [ [ ifexists ] [ nofail ] ]
  26. #}
  27. #
  28. # PipeWire modules to load.
  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. # The native communication protocol.
  33. { name = libpipewire-module-protocol-native }
  34. # Allows creating nodes that run in the context of the
  35. # client. Is used by all clients that want to provide
  36. # data to PipeWire.
  37. { name = libpipewire-module-client-node }
  38. # Allows creating devices that run in the context of the
  39. # client. Is used by the session manager.
  40. { name = libpipewire-module-client-device }
  41. # Makes a factory for wrapping nodes in an adapter with a
  42. # converter and resampler.
  43. { name = libpipewire-module-adapter }
  44. # Allows applications to create metadata objects. It creates
  45. # a factory for Metadata objects.
  46. { name = libpipewire-module-metadata }
  47. # Provides factories to make session manager objects.
  48. { name = libpipewire-module-session-manager }
  49. ]
  50. wireplumber.components = [
  51. #{ name = <component-name>, type = <component-type> }
  52. #
  53. # WirePlumber components to load
  54. #
  55. # The lua scripting engine
  56. { name = libwireplumber-module-lua-scripting, type = module }
  57. # The lua configuration file
  58. # Other components are loaded from there
  59. { name = main.lua, type = config/lua }
  60. ]