summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/wireplumber/bluetooth.lua.d/50-bluez-config.lua
blob: 7934e392ae8f9ee5e9cb4d176ddc8eb6768089fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
rule = {
  matches = {
    {
      { "device.name", "matches", "bluez_card.*" },
    },
  },
  apply_properties = {
     ["bluez5.auto-connect"] = "[ hfp_hf hsp_hs a2dp_sink ]",
  },
}

table.insert(bluez_monitor.rules,rule)

bluez_monitor.properties = {
   ["bluez5.enable-msbc"] = true,
   ["bluez5.enable-sbc-xq"] = true,
   ["bluez5.enable-hw-volume"] = true,
   ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]",
   ["bluez5.codecs"] = "[ sbc sbc_xq aac ldac aptx aptx_hd aptx_ll aptx_ll_duplex faststream faststream_duplex ]",
}