diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-10-16 01:29:55 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-10-16 01:29:55 +0000 |
| commit | 8aab207f861a26ccc65a69897293b3af92546f5e (patch) | |
| tree | 76099288d0ed42b1ad9e4b0e6c6272229005a94b /lib/dvb/volume.cpp | |
| parent | 3392a6ecccfe92d342eebe58736d9e33f8332943 (diff) | |
| download | enigma2-8aab207f861a26ccc65a69897293b3af92546f5e.tar.gz enigma2-8aab207f861a26ccc65a69897293b3af92546f5e.zip | |
double -> int
Diffstat (limited to 'lib/dvb/volume.cpp')
| -rw-r--r-- | lib/dvb/volume.cpp | 4 |
1 files 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; |
