calls: fix latency so moby doesnt underrun

This commit is contained in:
Colin 2024-05-18 06:47:26 +00:00
parent b2f2f88dc6
commit 4d09cce1aa

View File

@ -62,7 +62,9 @@ in
# add --daemon to avoid showing UI on launch.
# note that no matter the flags, it returns to being a daemon whenever the UI is manually closed,
# revealed when launched.
command = "env G_MESSAGES_DEBUG=all gnome-calls";
# default latency is 10ms, which is too low and i get underruns on moby.
# 50ms is copied from dino, not at all tuned.
command = "env G_MESSAGES_DEBUG=all PULSE_LATENCY_MSEC=50 gnome-calls";
};
};
programs.calls = lib.mkIf cfg.enabled {