summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/gaming.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/system/settings/gaming.nix b/system/settings/gaming.nix
index 3a0c134e..777bd598 100644
--- a/system/settings/gaming.nix
+++ b/system/settings/gaming.nix
@@ -27,10 +27,10 @@
       "link.max-buffers" = 16;
       "log.level" = 2;
       "default.clock.rate" = 44100;
-      "default.clock.allowed_rates" = [44100 48000 88200 96000];
-      "default.clock.quantum" = 32;
-      "default.clock.min-quantum" = 32;
-      "default.clock.max-quantum" = 32;
+      "default.clock.allowed_rates" = [ 44100 48000 88200 96000 ];
+      "default.clock.quantum" = 64;
+      "default.clock.min-quantum" = 64;
+      "default.clock.max-quantum" = 1024;
       "core.daemon" = true;
       "core.name" = "pipewire-0";
     };
@@ -88,20 +88,20 @@
           "rt.time.soft" = 200000;
           "rt.time.hard" = 200000;
         };
-        flags = ["ifexists" "nofail"];
+        flags = [ "ifexists" "nofail" ];
       }
-      {name = "libpipewire-module-protocol-native";}
-      {name = "libpipewire-module-client-node";}
-      {name = "libpipewire-module-adapter";}
-      {name = "libpipewire-module-metadata";}
+      { name = "libpipewire-module-protocol-native"; }
+      { name = "libpipewire-module-client-node"; }
+      { name = "libpipewire-module-adapter"; }
+      { name = "libpipewire-module-metadata"; }
       {
         name = "libpipewire-module-protocol-pulse";
         args = {
-          "pulse.min.req" = "32/48000";
-          "pulse.default.req" = "32/48000";
-          "pulse.max.req" = "32/48000";
-          "pulse.min.quantum" = "32/48000";
-          "pulse.max.quantum" = "32/48000";
+          "pulse.min.req" = "128/48000";
+          "pulse.default.req" = "128/48000";
+          "pulse.max.req" = "128/48000";
+          "pulse.min.quantum" = "128/48000";
+          "pulse.max.quantum" = "128/48000";
           "server.address" = [
             "unix:native"
             "tcp:127.0.0.1:4713"