Skip to content

Commit

Permalink
Merge pull request #48 from lovegaoshi/dev-noxplayer
Browse files Browse the repository at this point in the history
fix: r128gain
  • Loading branch information
lovegaoshi authored Dec 14, 2023
2 parents 7baef5e + 574fe3e commit ddbf4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ffmpeg/r128util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const getOrSetR128Gain = async ({
return r128gain2Volume(r128Val);
}
const source = await getSource(song);
const val = source.loudness ? -source.loudness : await r128gain(source.url);
const val = source.loudness ? source.loudness : await r128gain(source.url);
addR128Gain(song, val);
return r128gain2Volume(val);
};
Expand Down

0 comments on commit ddbf4b0

Please sign in to comment.