aboutsummaryrefslogtreecommitdiffstats
path: root/src/replayGain.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-07 01:30:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-07 01:30:29 +0000
commit3764b0608348815a9a8c59a0e4cb28236d82cb7d (patch)
tree6cf9da8a96840dc7b91f354e02a0d29859a559f0 /src/replayGain.c
parent01b708bc13d082079beb794a11e138b2ad890f83 (diff)
downloadmpd-3764b0608348815a9a8c59a0e4cb28236d82cb7d.tar.gz
mpd-3764b0608348815a9a8c59a0e4cb28236d82cb7d.tar.xz
mpd-3764b0608348815a9a8c59a0e4cb28236d82cb7d.zip
hopefully replaygain now works for musepack
git-svn-id: https://svn.musicpd.org/mpd/trunk@3031 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/replayGain.c')
-rw-r--r--src/replayGain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/replayGain.c b/src/replayGain.c
index 138d3a68b..ea521d728 100644
--- a/src/replayGain.c
+++ b/src/replayGain.c
@@ -89,10 +89,10 @@ ReplayGainInfo * newReplayGainInfo() {
ReplayGainInfo * ret = malloc(sizeof(ReplayGainInfo));
ret->albumGain = 0.0;
- ret->albumPeak = 1.0;
+ ret->albumPeak = 0.0;
ret->trackGain = 0.0;
- ret->trackPeak = 1.0;
+ ret->trackPeak = 0.0;
/* set to -1 so that we know in doReplayGain to compute the scale */
ret->scale = -1.0;