diff options
Diffstat (limited to 'accounts/gkleen@sif/wireplumber/bluetooth.lua.d/50-bluez-config.lua')
-rw-r--r-- | accounts/gkleen@sif/wireplumber/bluetooth.lua.d/50-bluez-config.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/wireplumber/bluetooth.lua.d/50-bluez-config.lua b/accounts/gkleen@sif/wireplumber/bluetooth.lua.d/50-bluez-config.lua new file mode 100644 index 00000000..948b7dfa --- /dev/null +++ b/accounts/gkleen@sif/wireplumber/bluetooth.lua.d/50-bluez-config.lua | |||
@@ -0,0 +1,20 @@ | |||
1 | rule = { | ||
2 | matches = { | ||
3 | { | ||
4 | { "device.name", "matches", "bluez_card.*" }, | ||
5 | }, | ||
6 | }, | ||
7 | apply_properties = { | ||
8 | ["bluez5.auto-connect"] = "[ hfp_hf hsp_hs a2dp_sink ]", | ||
9 | }, | ||
10 | } | ||
11 | |||
12 | table.insert(bluez_monitor.rules,rule) | ||
13 | |||
14 | bluez_monitor.properties = { | ||
15 | ["bluez5.enable-msbc"] = true, | ||
16 | ["bluez5.enable-sbc-xq"] = true, | ||
17 | ["bluez5.enable-hw-volume"] = false, | ||
18 | ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]", | ||
19 | ["bluez5.codecs"] = "[ sbc sbc_xq aac ldac aptx aptx_hd aptx_ll aptx_ll_duplex faststream faststream_duplex ]", | ||
20 | } | ||