summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>2014-06-28 02:58:57 +0300
committerwm4 <wm4@nowhere>2014-06-28 15:56:16 +0200
commit8b06fc86f38e62d2dfed58eeb03d5dad597047e1 (patch)
treef84e6be495b5447f9afbf41e668a27d4a4f1cc00 /common
parent88225d0afbe26e0489d2ccef0385823a665b2d24 (diff)
downloadmpv-8b06fc86f38e62d2dfed58eeb03d5dad597047e1.tar.bz2
mpv-8b06fc86f38e62d2dfed58eeb03d5dad597047e1.tar.xz
af_volume: fix calculations including replay-gain
rgain is not an additive value. It's a multiplier/gain. Previous behaviour produced negative level values in some cases (when rgain < 1.0) which caused volume to be louder when its value was lowered. CC: @mpv-player/stable Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions