diff --git a/ffwrapper.ts b/ffwrapper.ts index 495e694..1f93d1f 100644 --- a/ffwrapper.ts +++ b/ffwrapper.ts @@ -166,7 +166,7 @@ function amix(weights: Map, useWeights: boolean): string { amix += `amix=inputs=${weights.size}:duration=longest`; - if (!useWeights) { + if (useWeights) { amix += `:weights=${[...weights.values()].join(" ")}`; } amix += "[aout]";