5857c4861f332b3edfa8803022e567620831efa4
[AGL/meta-agl.git] / meta-pipewire / dynamic-layers / meta-app-framework / recipes-multimedia / pipewire / pipewire / pipewire.conf
1 context.properties = {
2     core.daemon                = true
3     core.name                  = pipewire-0
4     support.dbus               = false
5     link.max-buffers           = 16
6
7     # 1=error, 2=warning, 3=info, 4=debug, 5=trace
8     log.level                  = 2
9
10     ## Properties for the DSP configuration.
11     default.clock.rate        = 48000
12     default.clock.quantum     = 1024
13     default.clock.min-quantum = 512
14     default.clock.max-quantum = 8192
15 }
16
17 context.spa-libs = {
18     audio.convert.* = audioconvert/libspa-audioconvert
19     api.alsa.*      = alsa/libspa-alsa
20     api.v4l2.*      = v4l2/libspa-v4l2
21     support.*       = support/libspa-support
22 }
23
24 context.modules = [
25     { name = libpipewire-module-protocol-native }
26     { name = libpipewire-module-metadata }
27     { name = libpipewire-module-spa-device-factory }
28     { name = libpipewire-module-spa-node-factory }
29     { name = libpipewire-module-client-node }
30     { name = libpipewire-module-client-device }
31     { name = libpipewire-module-adapter }
32     { name = libpipewire-module-link-factory }
33     { name = libpipewire-module-session-manager }
34
35     # allow clients with the "System" SMACK label
36     # such a client is also the session manager (wireplumber)
37     {
38       name = libpipewire-module-access-seclabel
39       args= {
40         seclabel.allowed = [ System ]
41       }
42     }
43
44     # and restrict all other clients
45     {
46       name = libpipewire-module-access
47       args= {
48         access.force = restricted
49       }
50     }
51
52     # The profile module. Allows application to access profiler
53     # and performance data. It provides an interface that is used
54     # by pw-top and pw-profiler.
55     #{ name = libpipewire-module-profiler }
56 ]