2020-12-31 11:46:54 +01:00
|
|
|
# alsa-monitor config file
|
2020-12-31 21:45:36 +01:00
|
|
|
properties = {
|
2021-01-20 13:48:06 +01:00
|
|
|
#alsa.jack-device = true
|
2020-12-31 21:45:36 +01:00
|
|
|
}
|
2020-12-31 10:19:48 +01:00
|
|
|
|
2020-12-31 21:45:36 +01:00
|
|
|
rules = [
|
|
|
|
|
# an array of matches/actions to evaluate
|
2020-12-30 13:12:48 +01:00
|
|
|
{
|
2020-12-31 21:45:36 +01:00
|
|
|
# rules for matching a device or node. It is an array of
|
|
|
|
|
# properties that all need to match the regexp. If any of the
|
|
|
|
|
# matches work, the actions are executed for the object.
|
|
|
|
|
matches = [
|
|
|
|
|
{
|
|
|
|
|
# this matches all cards
|
|
|
|
|
device.name = ~alsa_card.*
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
|
|
|
|
# actions can update properties on the matched object.
|
|
|
|
|
update-props = {
|
|
|
|
|
api.alsa.use-acp = true
|
|
|
|
|
#api.alsa.use-ucm = true
|
|
|
|
|
#api.alsa.soft-mixer = false
|
|
|
|
|
#api.alsa.ignore-dB = false
|
|
|
|
|
#device.profile-set = "profileset-name"
|
|
|
|
|
#device.profile = "default profile name"
|
2021-01-27 13:47:11 +01:00
|
|
|
api.acp.auto-profile = false
|
2020-12-31 21:45:36 +01:00
|
|
|
#api.acp.auto-port = true
|
|
|
|
|
#device.nick = "My Device"
|
|
|
|
|
}
|
2020-12-30 13:12:48 +01:00
|
|
|
}
|
2020-12-31 10:19:48 +01:00
|
|
|
}
|
2020-12-30 13:12:48 +01:00
|
|
|
{
|
2020-12-31 21:45:36 +01:00
|
|
|
matches = [
|
|
|
|
|
{
|
|
|
|
|
# matches all sinks
|
|
|
|
|
node.name = ~alsa_input.*
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
# matches all sources
|
|
|
|
|
node.name = ~alsa_output.*
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
|
|
|
|
update-props = {
|
|
|
|
|
#node.nick = "My Node"
|
|
|
|
|
#node.nick = null
|
|
|
|
|
#priority.driver = 100
|
|
|
|
|
#priority.session = 100
|
2021-01-18 11:13:48 +01:00
|
|
|
#node.pause-on-idle = false
|
2020-12-31 21:45:36 +01:00
|
|
|
#resample.quality = 4
|
|
|
|
|
#channelmix.normalize = false
|
|
|
|
|
#channelmix.mix-lfe = false
|
2021-01-14 17:10:05 +01:00
|
|
|
#audio.channels = 2
|
2020-12-31 21:45:36 +01:00
|
|
|
#audio.format = "S16LE"
|
|
|
|
|
#audio.rate = 44100
|
|
|
|
|
#audio.position = "FL,FR"
|
2021-01-14 17:10:05 +01:00
|
|
|
#api.alsa.period-size = 1024
|
|
|
|
|
#api.alsa.headroom = 0
|
2021-01-15 15:44:22 +01:00
|
|
|
#api.alsa.disable-mmap = false
|
2021-01-21 17:10:48 +01:00
|
|
|
#api.alsa.disable-batch = false
|
2020-12-31 21:45:36 +01:00
|
|
|
}
|
2020-12-30 13:12:48 +01:00
|
|
|
}
|
|
|
|
|
}
|
2020-12-31 21:45:36 +01:00
|
|
|
]
|