✊ damn robot sounds

This commit is contained in:
ari committed 2026-06-04 16:04:32 -04:00
1 parent 6cfb4e18dc
commit e295fc3a42
1 file changed
+8 -3
+8 -3
View File
@@ -83,15 +83,20 @@ in
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;
# Fix robotic/distorted audio with AirPods over Bluetooth. # Fix robotic/distorted audio with AirPods over Bluetooth.
# WirePlumber 0.5 (nixpkgs 26.05+) enables mSBC for HFP by default, which # WirePlumber 0.5 (nixpkgs 26.05+) auto-switches BT devices from A2DP to
# produces robotic sounds with AirPods. Disabling mSBC falls back to CVSD # HFP whenever any app opens a mic stream (Chromium, Slack, etc.), which
# for the headset/mic profile while AAC/SBC still handles A2DP audio output. # degrades both speaker and mic quality to 8 kHz CVSD/mSBC and causes the
# robotic sound. Disabling auto-switch keeps AirPods in A2DP permanently;
# meeting apps fall back to the laptop's built-in mic for input.
services.pipewire.wireplumber.extraConfig = { services.pipewire.wireplumber.extraConfig = {
"51-airpods-bluetooth" = { "51-airpods-bluetooth" = {
"monitor.bluez.properties" = { "monitor.bluez.properties" = {
"bluez5.msbc-support" = false; "bluez5.msbc-support" = false;
"bluez5.hfphsp-backend" = "native"; "bluez5.hfphsp-backend" = "native";
}; };
"wireplumber.settings" = {
"bluetooth.autoswitch-to-headset-profile" = false;
};
}; };
}; };
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [