pipewire: update to pw 0.3.30 and wp 0.4.0
[AGL/meta-agl.git] / meta-pipewire / recipes-multimedia / wireplumber / wireplumber-config-agl / wireplumber.conf
1 # WirePlumber daemon context configuration #
2
3 context.properties = {
4   ## Properties to configure the PipeWire context and some modules
5
6   # 1=error/critical/warning, 2=message, 3=info, 4=debug, 5=trace
7   log.level = 2
8
9   wireplumber.script-engine = lua-scripting
10 }
11
12 context.spa-libs = {
13   #<factory-name regex> = <library-name>
14   #
15   # Used to find spa factory names. It maps an spa factory name
16   # regular expression to a library name that should contain
17   # that factory.
18   #
19   api.alsa.*      = alsa/libspa-alsa
20   api.bluez5.*    = bluez5/libspa-bluez5
21   api.v4l2.*      = v4l2/libspa-v4l2
22   api.libcamera.* = libcamera/libspa-libcamera
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(s)
72   # Other components are loaded from there
73   { name = config.lua, type = config/lua }
74 ]