aboutsummaryrefslogtreecommitdiffstats
path: root/src/replayGain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/replayGain.c')
-rw-r--r--src/replayGain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/replayGain.c b/src/replayGain.c
index 7c20919b8..ce9d48085 100644
--- a/src/replayGain.c
+++ b/src/replayGain.c
@@ -120,10 +120,14 @@ void doReplayGain(ReplayGainInfo * info, char *buffer, int bufferSize,
if (info->scale < 0) {
switch (replayGainState) {
case REPLAYGAIN_TRACK:
+ DEBUG("computing ReplayGain track scale with gain %f, "
+ "peak %f\n", info->trackGain, info->trackPeak);
info->scale = computeReplayGainScale(info->trackGain,
info->trackPeak);
break;
default:
+ DEBUG("computing ReplayGain album scale with gain %f, "
+ "peak %f\n", info->albumGain, info->albumPeak);
info->scale = computeReplayGainScale(info->albumGain,
info->albumPeak);
break;