summary refs log tree commit diff stats
path: root/system/settings/hardware
diff options
context:
space:
mode:
authorAlan Pearce2021-05-03 14:45:42 +0200
committerAlan Pearce2021-05-03 14:45:42 +0200
commit80861cf44181730c4cd465c2c22785e55ee37d50 (patch)
treece98fcd52f825340a2cc9dcff133702144b02dc8 /system/settings/hardware
parent43b819c4ac74ae6d0a76231ca912a5dc7edf3273 (diff)
downloadnixfiles-80861cf44181730c4cd465c2c22785e55ee37d50.tar.lz
nixfiles-80861cf44181730c4cd465c2c22785e55ee37d50.tar.zst
nixfiles-80861cf44181730c4cd465c2c22785e55ee37d50.zip
audio: switch device sample rate if not mixing
Diffstat (limited to 'system/settings/hardware')
-rw-r--r--system/settings/hardware/audio.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/settings/hardware/audio.nix b/system/settings/hardware/audio.nix
index ed956919..b66f9d04 100644
--- a/system/settings/hardware/audio.nix
+++ b/system/settings/hardware/audio.nix
@@ -5,6 +5,7 @@
     support32Bit = true;
     daemon.config = {
       flat-volumes = "no";
+      avoid-resampling = "yes";
     };
     package = if config.hardware.bluetooth.enable
       then pkgs.pulseaudioFull