From: jk.pu Date: Wed, 2 Dec 2015 08:09:43 +0000 (+0900) Subject: [Sound] Expand valid range of get volumn X-Git-Tag: submit/tizen_mobile/20151215.080542^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54fbec52ba0853e84b7089fb30220d755bacef44;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Sound] Expand valid range of get volumn Change-Id: I1dc79ea710638879da803bd398c5d72c307ab0ba Signed-off-by: jk.pu --- diff --git a/src/sound/sound_manager.cc b/src/sound/sound_manager.cc index 4bc7e0dd..42443c6d 100644 --- a/src/sound/sound_manager.cc +++ b/src/sound/sound_manager.cc @@ -191,7 +191,7 @@ PlatformResult SoundManager::GetMaxVolume(sound_type_e type, int* max_volume) { double SoundManager::ConvertToSystemVolume(int max_volume, int volume) { LoggerD("Enter"); - return round(static_cast(volume) * 10 / max_volume) / 10; + return round(static_cast(volume) * 100 / max_volume) / 100; } void SoundManager::VolumeChangeCallback(sound_type_e type, unsigned int value) {