From 86bffe5cd0c7bd53233df5aca6f24859f1bf1c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 3 Jun 2022 08:12:31 +0100 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20do=20384kHz=20on=20laptop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nutty-noon.nix | 12 ++++++++++++ config/services/pipewire.nix | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/nutty-noon.nix b/config/nutty-noon.nix index 810222de..5895f7ca 100644 --- a/config/nutty-noon.nix +++ b/config/nutty-noon.nix @@ -207,4 +207,16 @@ "ca-derivations" ]; networking.firewall.allowedTCPPorts = [ 58913 ]; + services.pipewire.config.pipewire."context.properties"."default.clock.rate" = 384000; + services.pipewire.config.pipewire."context.properties"."default.clock.allowed-rates" = [ + 44100 + 48000 + 88200 + 96000 + 176400 + 192000 + 352800 + 384000 + ]; + services.pipewire.config.pipewire."context.properties"."default.clock.quantum" = 8192; } diff --git a/config/services/pipewire.nix b/config/services/pipewire.nix index 59a7e8f3..8bcce87f 100644 --- a/config/services/pipewire.nix +++ b/config/services/pipewire.nix @@ -18,18 +18,6 @@ { domain = "@audio"; item = "nofile"; type = "soft"; value = "99999"; } { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; } ]; - services.pipewire.config.pipewire."context.properties"."default.clock.rate" = 384000; - services.pipewire.config.pipewire."context.properties"."default.clock.allowed-rates" = [ - 44100 - 48000 - 88200 - 96000 - 176400 - 192000 - 352800 - 384000 - ]; - services.pipewire.config.pipewire."context.properties"."default.clock.quantum" = 8192; services.pipewire.config.pipewire-pulse = { "pusle.rules" = [ {