aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmp/replaygain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmp/replaygain.cpp b/src/qmmp/replaygain.cpp
index 8f8817a8e..991b26fc4 100644
--- a/src/qmmp/replaygain.cpp
+++ b/src/qmmp/replaygain.cpp
@@ -55,7 +55,6 @@ void ReplayGain::setReplayGainInfo(const QMap<Qmmp::ReplayGainKey, double> &info
{
m_info = info;
m_headroom = headroom;
- updateScale();
if(m_mode != QmmpSettings::REPLAYGAIN_DISABLED)
{
qDebug("ReplayGain: track: gain=%f dB, peak=%f; album: gain=%f dB, peak=%f",
@@ -66,6 +65,7 @@ void ReplayGain::setReplayGainInfo(const QMap<Qmmp::ReplayGainKey, double> &info
qDebug("ReplayGain: scale=%f", m_scale);
qDebug("ReplayGain: headroom=%d", m_headroom);
}
+ updateScale();
}
qint64 ReplayGain::read(Decoder *decoder, char *data, qint64 size)