From 8aab207f861a26ccc65a69897293b3af92546f5e Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 16 Oct 2005 01:29:55 +0000 Subject: [PATCH] double -> int --- lib/dvb/volume.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dvb/volume.cpp b/lib/dvb/volume.cpp index bc3d6574..ba03b520 100644 --- a/lib/dvb/volume.cpp +++ b/lib/dvb/volume.cpp @@ -68,8 +68,8 @@ void eDVBVolumecontrol::setVolume(int left, int right) leftVol = checkVolume(left); rightVol = checkVolume(right); - left = 63 - leftVol / 100.0 * 63.0; - right = 63 - rightVol / 100.0 * 63.0; + left = 63 - leftVol * 63 / 100; + right = 63 - rightVol * 63 / 100; #if HAVE_DVB_API_VERSION < 3 audioMixer_t mixer; -- 2.30.2