From b19e8388c92f3f4a042148ca42f4c6a9fb7930fe Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 31 May 2019 16:04:33 +0100 Subject: [PATCH 1/2] nixos/pulseaudio: Set speex-float-5 as default resample-method The upstream default (speex-float-1) results in audible artifacts --- nixos/modules/config/pulseaudio.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix index e61a3a73120..5c3e3930258 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; From 29cc54c3837f8b2cf0b3f5ab75ec10844636e48d Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Thu, 6 Jun 2019 18:50:33 -0400 Subject: [PATCH 2/2] rl-1909: add note about PulseAudio resample-method --- nixos/doc/manual/release-notes/rl-1909.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml index 60b4a3bc17b..fe1a2254638 100644 --- a/nixos/doc/manual/release-notes/rl-1909.xml +++ b/nixos/doc/manual/release-notes/rl-1909.xml @@ -162,6 +162,13 @@ which is linked to fr-toutesvariantes.{aff,dic}. + + + The default resample-method for PulseAudio has been changed from the upstream default speex-float-1 + to speex-float-5. Be aware that low-powered ARM-based and MIPS-based boards will struggle with this + so you'll need to set back to speex-float-1. + +