wireplumber: update to master as of Nov 19th 2019
[AGL/meta-agl-devel.git] / meta-pipewire / recipes-multimedia / wireplumber / wireplumber-board-config-agl / wireplumber.conf.in
1 # Register well-known SPA factories
2 # These do not need to exist on the system to be registered
3 add-spa-lib audio.convert* audioconvert/libspa-audioconvert
4 add-spa-lib api.alsa.* alsa/libspa-alsa
5 add-spa-lib api.v4l2.* v4l2/libspa-v4l2
6 add-spa-lib api.bluez5.* bluez5/libspa-bluez5
7
8 # the client-device pipewire module is needed for libwireplumber-module-monitor
9 load-pipewire-module libpipewire-module-client-device
10
11 # Basic pipewire integration - do not remove
12 load-module C libwireplumber-module-pipewire
13
14 # Grants access to security confined clients
15 load-module C libwireplumber-module-client-permissions
16
17 load-module C libwireplumber-module-monitor {
18   "factory": <"api.alsa.enum.udev">,
19   "flags": <["use-adapter", "activate-devices"]>
20 }
21
22 # Monitors the ALSA devices that are discovered via udev
23 # and creates softdsp-endopints for each one of them
24 # The streams specified here are the ones that will be available for linking
25 # clients. Currently, they are matched against the client's role string.
26 load-module C libwireplumber-module-pw-alsa-udev {
27   "streams": <["Multimedia", "Speech-Low", "Custom-Low",
28                 "Navigation", "Speech-High", "Custom-High",
29                 "Communication", "Emergency"]>
30 }
31
32 # Monitors the Audio clients that are discovered via pipewire
33 # and creates simple-endpoints for each one of them
34 load-module C libwireplumber-module-pw-audio-client
35
36 # Implements linking clients to devices and maintains
37 # information about the devices to be used.
38 # Notes:
39 # - Devices must be specified in hw:X,Y format, where X and Y are integers.
40 #   Things like hw:Intel,0 or paths are not understood.
41 # - Roles and priorities can be arbitrary strings and arbitrary numbers
42 # - Roles are matched against the stream names specified in the modules above.
43 load-module C libwireplumber-module-simple-policy {
44   "default-playback-device": <"PLAYBACK">,
45   "default-capture-device": <"CAPTURE">,
46   "role-priorities": <{
47     "Multimedia": 1,
48     "Speech-Low": 2,
49     "Custom-Low": 3,
50     "Navigation": 5,
51     "Speech-High:": 7,
52     "Custom-High": 8,
53     "Communication": 9,
54     "Emergency": 10
55   }>
56 }