alsa-monitor.conf Spelling/Punctuation Fixes

This commit is contained in:
jasker5183 2021-02-08 17:54:26 +00:00 committed by Wim Taymans
parent c14361b19d
commit dc66df134b

View file

@ -1,24 +1,25 @@
# alsa-monitor config file # ALSA monitor config file #
properties = { properties = {
# Create a JACK device # Create a JACK device.
#alsa.jack-device = true #alsa.jack-device = true
} }
rules = [ rules = [
# an array of matches/actions to evaluate # An array of matches/actions to evaluate.
{ {
# rules for matching a device or node. It is an array of # Rules for matching a device or node. It is an array of
# properties that all need to match the regexp. If any of the # properties that all need to match the regexp. If any of the
# matches work, the actions are executed for the object. # matches work, the actions are executed for the object.
matches = [ matches = [
{ {
# this matches all cards. These are regular expressions # This matches all cards. These are regular expressions
# so "." matches one character and ".*" matches many. # so "." matches one character and ".*" matches many.
device.name = "~alsa_card.*" device.name = "~alsa_card.*"
} }
] ]
actions = { actions = {
# actions can update properties on the matched object. # Actions can update properties on the matched object.
update-props = { update-props = {
# Use ALSA-Card-Profile devices. They use UCM or # Use ALSA-Card-Profile devices. They use UCM or
# the profile configuration to configure the device # the profile configuration to configure the device
@ -26,16 +27,16 @@ rules = [
api.alsa.use-acp = true api.alsa.use-acp = true
# Use UCM instead of profile when available. Can be # Use UCM instead of profile when available. Can be
# disabled to skip trying to use the UCM profile # disabled to skip trying to use the UCM profile.
#api.alsa.use-ucm = true #api.alsa.use-ucm = true
# Don't use the hardware mixer for volume control. It # Don't use the hardware mixer for volume control. It
# will only use software volume. The mixer is still used # will only use software volume. The mixer is still used
# to mute unused paths based on the selected port # to mute unused paths based on the selected port.
#api.alsa.soft-mixer = false #api.alsa.soft-mixer = false
# Ignore Decibel settings of the driver. Can be used to # Ignore decibel settings of the driver. Can be used to
# work around buggy drivers that report wrong values # work around buggy drivers that report wrong values.
#api.alsa.ignore-dB = false #api.alsa.ignore-dB = false
# The profile set to use for the device. Usually this # The profile set to use for the device. Usually this
@ -43,13 +44,13 @@ rules = [
# or here. # or here.
#device.profile-set = "profileset-name" #device.profile-set = "profileset-name"
# The default active profile. Is by defaul set to "Off" # The default active profile. Is by default set to "Off".
#device.profile = "default profile name" #device.profile = "default profile name"
# Automatically select the best profile. This is the # Automatically select the best profile. This is the
# highest priority available profile. This is disabled # highest priority available profile. This is disabled
# here and instead implemented in the session manager # here and instead implemented in the session manager
# where it can save and load previous preferences # where it can save and load previous preferences.
api.acp.auto-profile = false api.acp.auto-profile = false
# Automatically switch to the highest priority available # Automatically switch to the highest priority available
@ -57,7 +58,7 @@ rules = [
# session manager instead. # session manager instead.
api.acp.auto-port = false api.acp.auto-port = false
# Other properties can be set here # Other properties can be set here.
#device.nick = "My Device" #device.nick = "My Device"
} }
} }
@ -65,12 +66,12 @@ rules = [
{ {
matches = [ matches = [
{ {
# matches all sinks. These are regular expressions # Matches all sinks. These are regular expressions
# so "." matches one character and ".*" matches many. # so "." matches one character and ".*" matches many.
node.name = "~alsa_input.*" node.name = "~alsa_input.*"
} }
{ {
# matches all sources # Matches all sources.
node.name = "~alsa_output.*" node.name = "~alsa_output.*"
} }
] ]