| 1 |
## The WirePlumber ALSA configuration |
| 2 |
|
| 3 |
wireplumber.settings = { |
| 4 |
## The priority for device reservation |
| 5 |
# monitor.alsa.reserve-priority = -20 |
| 6 |
|
| 7 |
## The application name for device reservation |
| 8 |
# monitor.alsa.reserve-application-name = WirePlumber |
| 9 |
} |
| 10 |
|
| 11 |
monitor.alsa.properties = { |
| 12 |
## The properties used when constructing the 'api.alsa.enum.udev' plugin |
| 13 |
} |
| 14 |
|
| 15 |
monitor.alsa-midi.properties = { |
| 16 |
## MIDI bridge node properties |
| 17 |
|
| 18 |
## Name set for the node with ALSA MIDI ports |
| 19 |
# node.name = "Midi-Bridge" |
| 20 |
|
| 21 |
## Removes longname/number from MIDI port names |
| 22 |
# api.alsa.disable-longname = false |
| 23 |
} |
| 24 |
|
| 25 |
monitor.alsa.rules = [ |
| 26 |
## The list of monitor rules |
| 27 |
|
| 28 |
## This rule example allows changing properties on all ALSA devices. |
| 29 |
# { |
| 30 |
# matches = [ |
| 31 |
# { |
| 32 |
# ## This matches all cards. |
| 33 |
# device.name = "~alsa_card.*" |
| 34 |
# } |
| 35 |
# ] |
| 36 |
# actions = { |
| 37 |
# update-props = { |
| 38 |
# ## Use ALSA-Card-Profile devices. They use UCM or the profile |
| 39 |
# ## configuration to configure the device and mixer settings. |
| 40 |
# api.alsa.use-acp = true |
| 41 |
# |
| 42 |
# ## Use UCM instead of ACP when available. |
| 43 |
# ## Depends on api.alsa.use-acp being enabled as well |
| 44 |
# api.alsa.use-ucm = true |
| 45 |
# |
| 46 |
# ## Don't use the hardware mixer for volume control. It |
| 47 |
# ## will only use software volume. The mixer is still used |
| 48 |
# ## to mute unused paths based on the selected port. |
| 49 |
# api.alsa.soft-mixer = false |
| 50 |
# |
| 51 |
# ## Ignore decibel settings of the driver. Can be used to |
| 52 |
# ## work around buggy drivers that report wrong values. |
| 53 |
# api.alsa.ignore-dB = false |
| 54 |
# |
| 55 |
# ## The profile set to use for the device. Usually this is |
| 56 |
# ## "default.conf" but can be changed with a udev rule or here. |
| 57 |
# device.profile-set = "profileset-name" |
| 58 |
# |
| 59 |
# ## The default active profile. Is by default set to "Off". |
| 60 |
# device.profile = "default profile name" |
| 61 |
# |
| 62 |
# ## Other properties can be set here. |
| 63 |
# device.nick = "My Device" |
| 64 |
# |
| 65 |
# ## Whether to disable the device or not |
| 66 |
# device.disabled = false |
| 67 |
# } |
| 68 |
# } |
| 69 |
# } |
| 70 |
|
| 71 |
## This rule example allows changing properties on all ALSA nodes. |
| 72 |
# { |
| 73 |
# matches = [ |
| 74 |
# { |
| 75 |
# ## Matches all sources. |
| 76 |
# node.name = "~alsa_input.*" |
| 77 |
# } |
| 78 |
# { |
| 79 |
# ## Matches all sinks. |
| 80 |
# node.name = "~alsa_output.*" |
| 81 |
# } |
| 82 |
# ] |
| 83 |
# actions = { |
| 84 |
# update-props = { |
| 85 |
# node.nick = "My Node" |
| 86 |
# node.description = "My Node Description" |
| 87 |
# priority.driver = 100 |
| 88 |
# priority.session = 100 |
| 89 |
# node.pause-on-idle = false |
| 90 |
# monitor.channel-volumes = false |
| 91 |
# resample.quality = 4 |
| 92 |
# resample.disable = false |
| 93 |
# channelmix.normalize = false |
| 94 |
# channelmix.mix-lfe = false |
| 95 |
# channelmix.upmix = true |
| 96 |
# |
| 97 |
# ## only "psd", "none" or "simple" values are accepted |
| 98 |
# channelmix.upmix-method = "psd" |
| 99 |
# |
| 100 |
# channelmix.lfe-cutoff = 150 |
| 101 |
# channelmix.fc-cutoff = 12000 |
| 102 |
# channelmix.rear-delay = 12.0 |
| 103 |
# channelmix.stereo-widen = 0.0 |
| 104 |
# channelmix.hilbert-taps = 0 |
| 105 |
# channelmix.disable = false |
| 106 |
# dither.noise = 0 |
| 107 |
# dither.method = "none" |
| 108 |
# audio.channels = 2 |
| 109 |
# audio.format = "S16LE" |
| 110 |
# audio.rate = 44100 |
| 111 |
# audio.allowed-rates = [32000, 96000] |
| 112 |
# audio.position = [FL, FR] |
| 113 |
# api.alsa.period-size = 1024 |
| 114 |
# api.alsa.period-num = 2 |
| 115 |
# api.alsa.headroom = 0 |
| 116 |
# api.alsa.start-delay = 0 |
| 117 |
# api.alsa.disable-mmap = false |
| 118 |
# api.alsa.disable-batch = false |
| 119 |
# api.alsa.use-chmap = false |
| 120 |
# api.alsa.multirate = true |
| 121 |
# latency.internal.rate = 0 |
| 122 |
# latency.internal.ns = 0 |
| 123 |
# clock.name = "api.alsa.0" |
| 124 |
# |
| 125 |
# ## 0 disables suspend |
| 126 |
# session.suspend-timeout-seconds = 5 |
| 127 |
# node.disabled = false |
| 128 |
# } |
| 129 |
# } |
| 130 |
# } |
| 131 |
] |