From 1ea0442898170451316624ad03e8f9575e795268 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Wed, 26 Mar 2025 19:41:00 +0100 Subject: [PATCH] fix the stutter when changing volume on rpi4 --- hosts/genepi/mpd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/genepi/mpd.nix b/hosts/genepi/mpd.nix index b4d041e..9b09438 100644 --- a/hosts/genepi/mpd.nix +++ b/hosts/genepi/mpd.nix @@ -18,6 +18,9 @@ # Workaround: run PulseAudio system-wide so that the mpd user can access it services.pulseaudio.systemWide = true; + # Fixes the stutter when changing volume (found this randomly) + hardware.pulseaudio.daemon.config.flat-volumes = "no"; + users.users.${config.services.mpd.user}.extraGroups = [ "pulse-access" ]; users.users.rpqt.homeMode = "755";