Enable cve-check in CI jobs for additional cve log files
[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   { name = libpipewire-module-filter-chain
62     args = {
63           node.description = "Equalizer Sink"
64           media.name       = "Equalizer Sink"
65           filter.graph = {
66               nodes = [
67                   {
68                       type  = builtin
69                       name  = bass
70                       label = bq_lowshelf
71                       # the cut off freq of the bass filter can be adjusted here.
72                       control = { "Freq" = 250.0 "Q" = 1.0 "Gain" = 0.0 }
73                   }
74                   {
75                       type  = builtin
76                       name  = treble
77                       label = bq_peaking
78                       # the cut off freq of the treble filter can be adjusted here.
79                       control = { "Freq" = 6000.0 "Q" = 1.0 "Gain" = 0.0 }
80                   }
81               ]
82               links = [
83                   { output = "bass:Out" input = "treble:In" }
84               ]
85           }
86           audio.channels = 2
87           audio.position = [ FL FR ]
88           capture.props = {
89               node.name   = "eq-sink"
90               media.class = Audio/Sink
91               # select the endpoint to which the node is attached
92               target.endpoint = "endpoint.multimedia"
93               node.passive = true
94           }
95           playback.props = {
96               node.name   = "eq-output-stream"
97               node.passive = true
98           }
99       }
100   }
101 ]
102
103 wireplumber.components = [
104   #{ name = <component-name>, type = <component-type> }
105   #
106   # WirePlumber components to load
107   #
108
109   # The lua scripting engine
110   { name = libwireplumber-module-lua-scripting, type = module }
111
112   # The lua configuration file(s)
113   # Other components are loaded from there
114   { name = host.lua, type = config/lua }
115 ]