summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-05-03 14:45:42 +0200
committerAlan Pearce2021-05-03 14:45:42 +0200
commit80861cf44181730c4cd465c2c22785e55ee37d50 (patch)
treece98fcd52f825340a2cc9dcff133702144b02dc8
parent43b819c4ac74ae6d0a76231ca912a5dc7edf3273 (diff)
downloadnixfiles-80861cf44181730c4cd465c2c22785e55ee37d50.tar.lz
nixfiles-80861cf44181730c4cd465c2c22785e55ee37d50.tar.zst
nixfiles-80861cf44181730c4cd465c2c22785e55ee37d50.zip
audio: switch device sample rate if not mixing
-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 @@
5 support32Bit = true; 5 support32Bit = true;
6 daemon.config = { 6 daemon.config = {
7 flat-volumes = "no"; 7 flat-volumes = "no";
8 avoid-resampling = "yes";
8 }; 9 };
9 package = if config.hardware.bluetooth.enable 10 package = if config.hardware.bluetooth.enable
10 then pkgs.pulseaudioFull 11 then pkgs.pulseaudioFull