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:
parent
384b84fec2
commit
33e2e327b5
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ in
|
||||||
wants = [ "network-online.target" "avahi-daemon.service" ];
|
wants = [ "network-online.target" "avahi-daemon.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
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";
|
Restart = "on-failure";
|
||||||
RestartSec = 5;
|
RestartSec = 5;
|
||||||
User = "danny";
|
User = "danny";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue