nixos/pulseaudio: Set speex-float-5 as default resample-method

The upstream default (speex-float-1) results in audible artifacts
This commit is contained in:
adisbladis 2019-05-31 16:04:33 +01:00
parent 92c881b6db
commit b19e8388c9
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7

View File

@ -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;