wireplumber.conf 2.05 KB
Newer Older
1
# Basic pipewire integration - do not remove
2
load-module C libwireplumber-module-pipewire
3 4 5 6 7 8

# Grants access to security confined clients
load-module C libwireplumber-module-client-permissions

# Endpoint implementation for standard audio devices
# using software conversions, mixing and volume controls
9
load-module C libwireplumber-module-pw-audio-softdsp-endpoint
10 11

# Endpoint that provides high-level volume controls for the AGL mixer
12 13 14 15 16 17
# The streams specified here are the ones that will appear in the mixer.
# They must match the stream names in the alsa-udev module,
# except for "Master", which is treated specially.
load-module C libwireplumber-module-mixer {
  "streams": <["Master", "Multimedia", "Navigation", "Communication", "Emergency"]>
}
18 19 20

# Monitors the ALSA devices that are discovered via udev
# and creates softdsp-endopints for each one of them
21 22
# The streams specified here are the ones that will be available for linking
# clients. Currently, they are matched against the client's role string.
23 24 25
load-module C libwireplumber-module-pw-alsa-udev {
  "streams": <["Multimedia", "Navigation", "Communication", "Emergency"]>
}
26

27 28 29 30
# Monitors the bluetooth devices that are discovered via bluez
# and creates the endpoints for each one of them
load-module C libwireplumber-module-pw-bluez

31 32 33 34
# Monitors the Audio clients that are discovered via pipewire
# and creates simple-endpoints for each one of them
load-module C libwireplumber-module-pw-audio-client

35 36
# Implements linking clients to devices and maintains
# information about the devices to be used.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
# Notes:
# - Devices must be specified in hw:X,Y format, where X and Y are integers.
#   Things like hw:Intel,0 or paths are not understood.
# - Roles and priorities can be arbitrary strings and arbitrary numbers
# - Roles are matched against the stream names specified in the modules above.
load-module C libwireplumber-module-simple-policy {
  "default-playback-device": <"hw:0,0">,
  "default-capture-device": <"hw:0,0">,
  "role-priorities": <{
    "Multimedia": 1,
    "Communication": 5,
    "Navigation": 8,
    "Emergency": 10
  }>
}