diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2004-11-30 19:47:03 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2004-11-30 19:47:03 +0000 |
commit | 12f17c6ccc13429971722299e0f3ca98bef1b688 (patch) | |
tree | c3740f2a698b31a19c36a29af43708637774f991 /misc | |
parent | 61e98c3849f2bf78e6a7bd927233062fcbd3cf90 (diff) | |
download | xine-lib-12f17c6ccc13429971722299e0f3ca98bef1b688.tar.gz xine-lib-12f17c6ccc13429971722299e0f3ca98bef1b688.tar.bz2 |
Fix two errors in the volume <-> %age conversion functions:
- always round to nearest (one did so, but the other rounded down);
- %age to volume: add the minimum value afterwards, don't subtract it from
the value to be converted (else only min==0 works).
CVS patchset: 7169
CVS date: 2004/11/30 19:47:03
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions