git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3392a6e
)
double -> int
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 16 Oct 2005 01:29:55 +0000
(
01:29
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 16 Oct 2005 01:29:55 +0000
(
01:29
+0000)
lib/dvb/volume.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/volume.cpp
b/lib/dvb/volume.cpp
index bc3d6574d65365d5533d7074fb16b9366dd42e19..ba03b520f995657b5c67c3cec064c0c5d38e61a5 100644
(file)
--- 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 / 10
0;
+ right = 63 - rightVol
* 63 / 10
0;
#if HAVE_DVB_API_VERSION < 3
audioMixer_t mixer;