style: Reformat config files

Use spaces instead of tabs (as they depend on text editor settings).
Make configuration files more readable and consistent seeing as there
were some mixed indentation and styling.
Also put some logic into styling.
This commit is contained in:
Ivan 2021-02-11 22:09:18 +02:00 committed by Wim Taymans
parent b6108df6f3
commit 0d56f717bf
5 changed files with 146 additions and 144 deletions

View file

@ -2,19 +2,19 @@
properties = {
# MSBC is not expected to work on all headset + adapter combinations.
#bluez5.msbc-support = true
#bluez5.msbc-support = true
#bluez5.sbc-xq-support = true
# Enabled headset roles (default: [ hsp_hs hfp_ag ]), this
# Enabled headset roles (default: [ hsp_hs hfp_ag ]), this
# property only applies to native backend. Currently some headsets
# (Sony WH-1000XM3) are not working with both hsp_ag and hfp_ag
# (Sony WH-1000XM3) are not working with both hsp_ag and hfp_ag
# enabled, disable either hsp_ag or hfp_ag to work around it.
#
# Supported headset roles: hsp_hs (HSP Headset),
# hsp_ag (HSP Audio Gateway),
# hfp_ag (HFP Audio Gateway)
#bluez5.headset-roles = [ hsp_hs hsp_ag hfp_ag ]
# Enabled A2DP codecs (default: all).
#bluez5.codecs = [ sbc aac ldac aptx aptx_hd ]
}
@ -27,38 +27,38 @@ rules = [
# matches work, the actions are executed for the object.
matches = [
{
# This matches all cards.
# This matches all cards.
device.name = "~bluez_card.*"
}
]
actions = {
# Actions can update properties on the matched object.
update-props = {
#device.nick = "My Device"
#device.nick = "My Device"
}
}
}
{
matches = [
{
# Matches all sinks.
# Matches all sinks.
node.name = "~bluez_input.*"
}
{
# Matches all sources.
# Matches all sources.
node.name = "~bluez_output.*"
}
]
actions = {
update-props = {
#node.nick = "My Node"
#node.nick = null
#priority.driver = 100
#priority.session = 100
node.pause-on-idle = false
#resample.quality = 4
#channelmix.normalize = false
#channelmix.mix-lfe = false
#node.nick = "My Node"
#node.nick = null
#priority.driver = 100
#priority.session = 100
node.pause-on-idle = false
#resample.quality = 4
#channelmix.normalize = false
#channelmix.mix-lfe = false
}
}
}