Commit 5a2f8549 authored by J. Alexander Treuman's avatar J. Alexander Treuman

replayGain: adding DEBUG messages when computing scale

git-svn-id: https://svn.musicpd.org/mpd/trunk@6658 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent f66b834f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment