Enable mSBC and SBC-XQ on bluetooth headsets
This commit is contained in:
parent
e082653aea
commit
822cd9bd19
1 changed files with 27 additions and 1 deletions
|
@ -11,7 +11,33 @@ in
|
|||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
media-session.enable = true;
|
||||
media-session = {
|
||||
enable = true;
|
||||
|
||||
config = {
|
||||
bluez-monitor.rules = [
|
||||
{
|
||||
matches = [{ "device.name" = "~bluez_card.*"; }];
|
||||
actions = {
|
||||
"update-props" = {
|
||||
"bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
|
||||
"bluez5.msbc-support" = true;
|
||||
"bluez5.sbc-xq-support" = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{ "node.name" = "~bluez_input.*"; }
|
||||
{ "node.name" = "~bluez_output.*"; }
|
||||
];
|
||||
actions = {
|
||||
"node.pause-on-idle" = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue