diff options
author | adisbladis <adisbladis@gmail.com> | 2019-06-10 15:05:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 15:05:44 +0200 |
commit | 32b374f780601d7fa4153d1813dd1df09de525a1 (patch) | |
tree | c29e194b882268a1e2f9e1acb408fb4bdc927920 /nixos/modules | |
parent | 8f2a77e1de8b53688993d712445874dd0e1fb1b6 (diff) | |
parent | 29cc54c3837f8b2cf0b3f5ab75ec10844636e48d (diff) |
Merge pull request #62315 from adisbladis/pulseaudio/resample-method
nixos/pulseaudio: Set speex-float-5 as default resample-method
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/config/pulseaudio.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix index e61a3a731201..5c3e39302583 100644 --- a/nixos/modules/config/pulseaudio.nix +++ b/nixos/modules/config/pulseaudio.nix @@ -245,6 +245,9 @@ in { # Disable flat volumes to enable relative ones hardware.pulseaudio.daemon.config.flat-volumes = mkDefault "no"; + # Upstream defaults to speex-float-1 which results in audible artifacts + hardware.pulseaudio.daemon.config.resample-method = mkDefault "speex-float-5"; + # Allow PulseAudio to get realtime priority using rtkit. security.rtkit.enable = true; |