Enable more bluetooth codecs

This commit is contained in:
Alexander Bantyev 2021-06-29 14:23:57 +03:00
parent b9a5895a2e
commit 5a6ac5bb59
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -35,14 +35,16 @@ with deviceSpecific; {
alsa.enable = true;
pulse.enable = true;
media-session.config.bluez-monitor = {
properties = { };
properties = {
"bluez5.codecs" = [ "sbc" "aac" "ldac" "aptx" "aptx_hd" ];
};
rules = [
{
actions = {
update-props = {
"bluez5.auto-connect" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
"bluez5.auto-connect" = [ "hsp_hs" "hfp_hf" "a2dp_sink" ];
"bluez5.hw-volume" =
[ "hfp_ag" "hsp_ag" "a2dp_source" "a2dp_sink" ];
[ "hsp_ag" "hfp_ag" "a2dp_source" "a2dp_sink" ];
};
};
matches = [{ "device.name" = "~bluez_card.*"; }];