Commit 9e7979a2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

aout: stick to single precision

parent 5a414bf0
...@@ -177,7 +177,7 @@ static float aout_ReplayGainSelect(vlc_object_t *obj, const char *str, ...@@ -177,7 +177,7 @@ static float aout_ReplayGainSelect(vlc_object_t *obj, const char *str,
else else
gain = var_InheritFloat (obj, "audio-replay-gain-default"); gain = var_InheritFloat (obj, "audio-replay-gain-default");
multiplier = pow (10., gain / 20.); multiplier = powf (10.f, gain / 20.f);
if (var_InheritBool (obj, "audio-replay-gain-peak-protection")) if (var_InheritBool (obj, "audio-replay-gain-peak-protection"))
multiplier = fminf (multiplier, replay_gain->pb_peak[mode] multiplier = fminf (multiplier, replay_gain->pb_peak[mode]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment