bluetooth.conf: open secondary access to pipewire
[AGL/meta-agl.git] / meta-pipewire / recipes-multimedia / wireplumber / wireplumber-config-agl / bluetooth.conf
1 # WirePlumber daemon context configuration #
2
3 context.properties = {
4   ## Properties to configure the PipeWire context and some modules
5
6   application.name = "WirePlumber Bluetooth"
7   log.level = 2
8   wireplumber.script-engine = lua-scripting
9   wireplumber.export-core = true
10
11   #mem.mlock-all = false
12   #support.dbus  = true
13 }
14
15 context.spa-libs = {
16   #<factory-name regex> = <library-name>
17   #
18   # Used to find spa factory names. It maps an spa factory name
19   # regular expression to a library name that should contain
20   # that factory.
21   #
22   api.bluez5.*    = bluez5/libspa-bluez5
23   audio.convert.* = audioconvert/libspa-audioconvert
24   support.*       = support/libspa-support
25 }
26
27 context.modules = [
28   #{   name = <module-name>
29   #    [ args = { <key> = <value> ... } ]
30   #    [ flags = [ [ ifexists ] [ nofail ] ]
31   #}
32   #
33   # PipeWire modules to load.
34   # If ifexists is given, the module is ignored when it is not found.
35   # If nofail is given, module initialization failures are ignored.
36   #
37
38   # The native communication protocol.
39   { name = libpipewire-module-protocol-native }
40
41   # Allows creating nodes that run in the context of the
42   # client. Is used by all clients that want to provide
43   # data to PipeWire.
44   { name = libpipewire-module-client-node }
45
46   # Allows creating devices that run in the context of the
47   # client. Is used by the session manager.
48   { name = libpipewire-module-client-device }
49
50   # Makes a factory for wrapping nodes in an adapter with a
51   # converter and resampler.
52   { name = libpipewire-module-adapter }
53
54   # Allows applications to create metadata objects. It creates
55   # a factory for Metadata objects.
56   { name = libpipewire-module-metadata }
57
58   # Provides factories to make session manager objects.
59   { name = libpipewire-module-session-manager }
60 ]
61
62 wireplumber.components = [
63   #{ name = <component-name>, type = <component-type> }
64   #
65   # WirePlumber components to load
66   #
67
68   # The lua scripting engine
69   { name = libwireplumber-module-lua-scripting, type = module }
70
71   # The lua configuration file
72   # Other components are loaded from there
73   { name = bluetooth.lua, type = config/lua }
74 ]