Commit eb1db49

HPCesia <me@hpcesia.com>
2025-11-06 08:17:16
WIP: Fix PipeWire overflow/underflow
1 parent 0babbcd
Changed files (1)
modules
modules/desktop/pipewire.nix
@@ -15,9 +15,16 @@
       alsa.enable = true;
       alsa.support32Bit = true;
       pulse.enable = true;
-      # If you want to use JACK applications, uncomment this
       jack.enable = true;
       wireplumber.enable = true;
+      extraConfig.pipewire."92-fix-xrun" = {
+        "context.properties" = {
+          "default.clock.rate" = 48000;
+          "default.clock.quantum" = 1024;
+          "default.clock.min-quantum" = 512;
+          "default.clock.max-quantum" = 2048;
+        };
+      };
     };
     # rtkit is optional but recommended
     security.rtkit.enable = true;