mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
revert volume calculation to original implementation
Origin commit data
------------------
Branch: master
Commit: 39d38a38d9
Author: martii <m4rtii@gmx.de>
Date: 2012-12-17 (Mon, 17 Dec 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -101,11 +101,7 @@ int map_volume(const int volume)
|
||||
if (vol > 100)
|
||||
vol = 100;
|
||||
|
||||
#ifdef MARTII
|
||||
vol = 62 - vol * 62 / 100;
|
||||
#else
|
||||
vol = 63 - vol * 63 / 100;
|
||||
#endif
|
||||
return vol;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user