nixos/wyoming/piper: enable streaming audio
With wyoming-piper 1.6.0 we can enable streaming audio on sentence boundaries, which should improve the responsiveness.
This commit is contained in:
@@ -96,6 +96,10 @@ in
|
||||
apply = toString;
|
||||
};
|
||||
|
||||
streaming = mkEnableOption "audio streaming on sentence boundaries" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
extraArgs = mkOption {
|
||||
type = listOf str;
|
||||
default = [ ];
|
||||
@@ -158,6 +162,9 @@ in
|
||||
"--noise-w"
|
||||
options.noiseWidth
|
||||
]
|
||||
++ lib.optionals options.streaming [
|
||||
"--streaming"
|
||||
]
|
||||
++ options.extraArgs
|
||||
);
|
||||
CapabilityBoundingSet = "";
|
||||
|
||||
Reference in New Issue
Block a user