fix(nixos): increase UxPlay ALSA buffer to reduce audio chop 🐛

WiFi jitter causes underruns with default buffer. Set buffer-time
to 200ms for smoother playback.
This commit is contained in:
DannyDannyDanny 2026-03-31 10:01:22 +02:00
parent 384b84fec2
commit 33e2e327b5

View file

@ -87,7 +87,7 @@ in
wants = [ "network-online.target" "avahi-daemon.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = ''${pkgs.uxplay}/bin/uxplay -n sunken-ship -p -vs 0 -as "alsasink device=plughw:USB,0"'';
ExecStart = ''${pkgs.uxplay}/bin/uxplay -n sunken-ship -p -vs 0 -as "alsasink device=plughw:USB,0 buffer-time=200000"'';
Restart = "on-failure";
RestartSec = 5;
User = "danny";