diff options
author | 2010-05-26 21:40:28 -0700 | |
---|---|---|
committer | 2010-05-28 15:01:20 +0200 | |
commit | 291e5760eede7783217a214334f1beb8e134193f (patch) | |
tree | 4044208e4c641358660741a765e67e5c46d8867e /playlist.c | |
parent | 87e5ec94cb9ae466e3222a22c6adfeaa4efba305 (diff) |
fix for inconsistent use of replaygain_xxxxx_gain field and incorrect handling of replaygain peak scale option
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -823,13 +823,13 @@ pl_process_cue_track (playItem_t *after, const char *fname, playItem_t **prev, c pl_add_meta (it, "year", date); } if (replaygain_album_gain[0]) { - it->replaygain_album_gain = db_to_amp (atof (replaygain_album_gain)); + it->replaygain_album_gain = atof (replaygain_album_gain); } if (replaygain_album_peak[0]) { it->replaygain_album_peak = atof (replaygain_album_peak); } if (replaygain_track_gain[0]) { - it->replaygain_track_gain = db_to_amp (atof (replaygain_track_gain)); + it->replaygain_track_gain = atof (replaygain_track_gain); } if (replaygain_track_peak[0]) { it->replaygain_track_peak = atof (replaygain_track_peak); |