audio-server: fix race condition in zeroconf publishing
This commit is contained in:
parent
f10fda7c00
commit
5120c6ac5a
|
@ -11,10 +11,16 @@ let
|
|||
# errors such as:
|
||||
# mod.zeroconf-publish: error id:47 seq:349 res:-2 (No such file or directory): enum params id:16 (Spa:Enum:ParamId:ProcessLatency) failed
|
||||
# are harmless and can be ignored. You most likely want to restart your local avahi-daemon: sudo systemctl restart avahi-daemon
|
||||
pipewireCfg = contextExec: {
|
||||
pipewireCfg = contextExec: let
|
||||
pactl = "${pkgs.pulseaudio}/bin/pactl";
|
||||
in {
|
||||
"context.exec" = contextExec ++ [
|
||||
# should be loaded by "server.address" but that is either to late or razy on 23.05
|
||||
{
|
||||
"path" = "pactl";
|
||||
"path" = pactl;
|
||||
"args" = "load-module module-native-protocol-tcp";
|
||||
} {
|
||||
"path" = pactl;
|
||||
"args" = "load-module module-zeroconf-publish";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue