bluetooth.conf 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # WirePlumber daemon context configuration #
  2. context.properties = {
  3. ## Properties to configure the PipeWire context and some modules
  4. application.name = "WirePlumber Bluetooth"
  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. api.bluez5.* = bluez5/libspa-bluez5
  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. # Uses RTKit to boost the data thread priority.
  33. { name = libpipewire-module-rt
  34. args = {
  35. nice.level = -11
  36. #rt.prio = 88
  37. #rt.time.soft = -1
  38. #rt.time.hard = -1
  39. }
  40. flags = [ ifexists nofail ]
  41. }
  42. # The native communication protocol.
  43. { name = libpipewire-module-protocol-native }
  44. # Allows creating nodes that run in the context of the
  45. # client. Is used by all clients that want to provide
  46. # data to PipeWire.
  47. { name = libpipewire-module-client-node }
  48. # Allows creating devices that run in the context of the
  49. # client. Is used by the session manager.
  50. { name = libpipewire-module-client-device }
  51. # Makes a factory for wrapping nodes in an adapter with a
  52. # converter and resampler.
  53. { name = libpipewire-module-adapter }
  54. # Allows applications to create metadata objects. It creates
  55. # a factory for Metadata objects.
  56. { name = libpipewire-module-metadata }
  57. # Provides factories to make session manager objects.
  58. { name = libpipewire-module-session-manager }
  59. # Provides factories to make SPA node objects.
  60. { name = libpipewire-module-spa-node-factory }
  61. ]
  62. wireplumber.components = [
  63. #{ name = <component-name>, type = <component-type> }
  64. #
  65. # WirePlumber components to load
  66. #
  67. # The lua scripting engine
  68. { name = libwireplumber-module-lua-scripting, type = module }
  69. # The lua configuration file
  70. # Other components are loaded from there
  71. { name = bluetooth.lua, type = config/lua }
  72. ]