decoder/mpcdec: fix replay gain formula with v8

"When playing musepack files with mpd v0.15.8, rg seems to have no effect.

Using sample file below, mpd says 'computing ReplayGain album scale with gain 122.879997, peak 0.549150'.

One thing though, if I build mpd against old libmpcdec-1.2.6, rg works
as expected: 'computing ReplayGain album scale with gain 16.820000,
peak 0.099765'"
This commit is contained in:
Aleksei Kaveshnikov
2010-03-12 18:04:46 +01:00
committed by Max Kellermann
parent cbfaa4a266
commit 73ba4ea3da
2 changed files with 9 additions and 0 deletions

1
NEWS
View File

@@ -2,6 +2,7 @@ ver 0.15.9 (2009/??/??)
* decoders:
- mad: fix crash when seeking at end of song
- mpcdec: fix negative shift on fixed-point samples
- mpcdec: fix replay gain formula with v8
* playlist: fix single+repeat in random mode
* player: postpone song tags during cross-fade