mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
bluez5: autoconnect device profiles on startup
Auto-connect all paired & trusted devices on startup. Since devices that already connected or powering off would reject the connecting requests, it should be fine with this behavior. Also reconnect remaining profiles if only partial profiles are connected.
This commit is contained in:
parent
4112b34f4d
commit
34c9f24d2a
5 changed files with 168 additions and 86 deletions
|
|
@ -33,15 +33,28 @@ rules = [
|
|||
actions = {
|
||||
# Actions can update properties on the matched object.
|
||||
update-props = {
|
||||
|
||||
# Autoconnect device profiles, disabled by default
|
||||
# if the property is not specified.
|
||||
#bluez5.reconnect-profiles = [
|
||||
# hfp_hf
|
||||
# hsp_hs
|
||||
# a2dp_sink
|
||||
# hfp_ag
|
||||
# hsp_ag
|
||||
# a2dp_source
|
||||
#]
|
||||
bluez5.reconnect-profiles = [ hfp_hf hsp_hs a2dp_sink ]
|
||||
|
||||
# MSBC is not expected to work on all headset + adapter combinations.
|
||||
#bluez5.msbc-support = false
|
||||
#bluez5.msbc-support = false
|
||||
|
||||
# LDAC encoding quality
|
||||
# Available values: auto (Adaptive Bitrate, default)
|
||||
# hq (High Quality, 990/909kbps)
|
||||
# sq (Standard Quality, 660/606kbps)
|
||||
# mq (Mobile use Quality, 330/303kbps)
|
||||
#bluez5.a2dp.ldac.quality = auto
|
||||
#bluez5.a2dp.ldac.quality = auto
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue