fix bug in ogg replaygain
git-svn-id: https://svn.musicpd.org/mpd/trunk@1662 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
77bd4ec428
commit
47873cd858
@ -317,7 +317,7 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
|
|||||||
if((test = ov_bitrate_instant(&vf))>0) {
|
if((test = ov_bitrate_instant(&vf))>0) {
|
||||||
bitRate = test/1000;
|
bitRate = test/1000;
|
||||||
}
|
}
|
||||||
doReplayGain(chunk,ret,&(dc->audioFormat),
|
doReplayGain(chunk,chunkpos,&(dc->audioFormat),
|
||||||
replayGainScale);
|
replayGainScale);
|
||||||
sendDataToOutputBuffer(cb, inStream, dc,
|
sendDataToOutputBuffer(cb, inStream, dc,
|
||||||
inStream->seekable,
|
inStream->seekable,
|
||||||
|
Loading…
Reference in New Issue
Block a user