diff --git a/es-app/src/VolumeControl.cpp b/es-app/src/VolumeControl.cpp index cfa9f6c47..862f1eaf5 100644 --- a/es-app/src/VolumeControl.cpp +++ b/es-app/src/VolumeControl.cpp @@ -273,7 +273,7 @@ int VolumeControl::getVolume() const rawVolume -= minVolume; if (rawVolume > 0) { - volume = (rawVolume * 100) / (maxVolume - minVolume); + volume = (rawVolume * 100.0) / (maxVolume - minVolume) + 0.5; } //else volume = 0; }