Skip to content

Commit

Permalink
what a bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deanveloper committed Apr 17, 2023
1 parent 9c435d1 commit 932567e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffwrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function amix(weights: Map<string, number>, useWeights: boolean): string {

amix += `amix=inputs=${weights.size}:duration=longest`;

if (!useWeights) {
if (useWeights) {
amix += `:weights=${[...weights.values()].join(" ")}`;
}
amix += "[aout]";
Expand Down

0 comments on commit 932567e

Please sign in to comment.