2021-02-08 18:05:37 +00:00
|
|
|
# Bluez monitor config file #
|
|
|
|
|
|
2021-01-12 20:38:47 +01:00
|
|
|
properties = {
|
2021-02-08 18:05:37 +00:00
|
|
|
# MSBC is not expected to work on all headset + adapter combinations.
|
2021-02-11 22:09:18 +02:00
|
|
|
#bluez5.msbc-support = true
|
2021-01-13 11:42:08 +01:00
|
|
|
#bluez5.sbc-xq-support = true
|
2021-01-30 18:15:58 +02:00
|
|
|
|
2021-02-11 22:09:18 +02:00
|
|
|
# Enabled headset roles (default: [ hsp_hs hfp_ag ]), this
|
2021-02-01 03:37:23 +08:00
|
|
|
# property only applies to native backend. Currently some headsets
|
2021-02-11 22:09:18 +02:00
|
|
|
# (Sony WH-1000XM3) are not working with both hsp_ag and hfp_ag
|
2021-02-01 03:37:23 +08:00
|
|
|
# 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)
|
2021-02-01 01:58:28 +08:00
|
|
|
#bluez5.headset-roles = [ hsp_hs hsp_ag hfp_ag ]
|
2021-02-11 22:09:18 +02:00
|
|
|
|
2021-02-08 18:05:37 +00:00
|
|
|
# Enabled A2DP codecs (default: all).
|
2021-01-30 18:15:58 +02:00
|
|
|
#bluez5.codecs = [ sbc aac ldac aptx aptx_hd ]
|
2021-01-12 20:38:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rules = [
|
2021-02-08 18:05:37 +00:00
|
|
|
# An array of matches/actions to evaluate.
|
2021-01-12 20:38:47 +01:00
|
|
|
{
|
2021-02-08 18:05:37 +00:00
|
|
|
# Rules for matching a device or node. It is an array of
|
2021-01-12 20:38:47 +01:00
|
|
|
# properties that all need to match the regexp. If any of the
|
|
|
|
|
# matches work, the actions are executed for the object.
|
|
|
|
|
matches = [
|
|
|
|
|
{
|
2021-02-11 22:09:18 +02:00
|
|
|
# This matches all cards.
|
2021-02-05 17:34:30 +01:00
|
|
|
device.name = "~bluez_card.*"
|
2021-01-12 20:38:47 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
2021-02-08 18:05:37 +00:00
|
|
|
# Actions can update properties on the matched object.
|
2021-01-12 20:38:47 +01:00
|
|
|
update-props = {
|
2021-02-11 22:09:18 +02:00
|
|
|
#device.nick = "My Device"
|
2021-01-12 20:38:47 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
matches = [
|
|
|
|
|
{
|
2021-02-11 22:09:18 +02:00
|
|
|
# Matches all sinks.
|
2021-02-05 17:34:30 +01:00
|
|
|
node.name = "~bluez_input.*"
|
2021-01-12 20:38:47 +01:00
|
|
|
}
|
|
|
|
|
{
|
2021-02-11 22:09:18 +02:00
|
|
|
# Matches all sources.
|
2021-02-05 17:34:30 +01:00
|
|
|
node.name = "~bluez_output.*"
|
2021-01-12 20:38:47 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
actions = {
|
|
|
|
|
update-props = {
|
2021-02-11 22:09:18 +02:00
|
|
|
#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
|
2021-01-12 20:38:47 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|