Skip to content

Commit

Permalink
Merge pull request daneren2005#1130 from flyingOwl/replaygainfix
Browse files Browse the repository at this point in the history
Fix replaygain selection logic
  • Loading branch information
daneren2005 committed Feb 10, 2023
2 parents 09514a5 8ace471 commit 8b73da3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2695,8 2695,8 @@ else if("2".equals(replayGainType)) {
// Already false, no need to do anything here


// If playing a single album or no track gain, use album gain
if((singleAlbum || rg.album == 0) && rg.track != 0) {
// If playing a single album or no track gain, use album gain (if set)
if((singleAlbum || rg.track == 0) && rg.album != 0) {
adjust = rg.album;
} else {
// Otherwise, give priority to track gain
Expand Down

0 comments on commit 8b73da3

Please sign in to comment.