[vlc-commits] aout: stick to single precision
Rémi Denis-Courmont
git at videolan.org
Sun Jul 28 15:31:25 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 28 16:31:15 2013 +0300| [9e7979a2e59f18f489964888fe1c33410ffddec3] | committer: Rémi Denis-Courmont
aout: stick to single precision
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e7979a2e59f18f489964888fe1c33410ffddec3
---
src/audio_output/volume.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio_output/volume.c b/src/audio_output/volume.c
index b16cc83..57e8f33 100644
--- a/src/audio_output/volume.c
+++ b/src/audio_output/volume.c
@@ -177,7 +177,7 @@ static float aout_ReplayGainSelect(vlc_object_t *obj, const char *str,
else
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"))
multiplier = fminf (multiplier, replay_gain->pb_peak[mode]
More information about the vlc-commits
mailing list