Do normalization if there's replaygain data but replaygain is off
git-svn-id: https://svn.musicpd.org/mpd/trunk@4445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
|
||||
&(cb->audioFormat), data);
|
||||
}
|
||||
|
||||
if (replayGainInfo) {
|
||||
if (replayGainInfo && (replayGainState != REPLAYGAIN_OFF)) {
|
||||
doReplayGain(replayGainInfo, data, datalen, &cb->audioFormat);
|
||||
} else if (normalEnable) {
|
||||
normalizeData(data, datalen, &cb->audioFormat);
|
||||
|
||||
Reference in New Issue
Block a user