From dad362bf698d4c680de5501a297c5d9d553e95fc Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Thu, 8 Sep 2011 08:16:37 +0200 Subject: [PATCH] Fixed Listener::GetGlobalVolume returning wrong values --- src/SFML/Audio/Listener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Audio/Listener.cpp b/src/SFML/Audio/Listener.cpp index 9e2f94900..cc2bc1943 100644 --- a/src/SFML/Audio/Listener.cpp +++ b/src/SFML/Audio/Listener.cpp @@ -48,7 +48,7 @@ float Listener::GetGlobalVolume() float volume = 0.f; ALCheck(alGetListenerf(AL_GAIN, &volume)); - return volume; + return volume * 100; }