libspark: fix volume-to-/proc/stb/avs/0/volume mapping

Origin commit data
------------------
Branch: master
Commit: 241de088cb
Author: martii <m4rtii@gmx.de>
Date: 2012-11-01 (Thu, 01 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2012-11-01 11:45:05 +01:00
parent e6519f45fe
commit be50849509

View File

@@ -101,7 +101,11 @@ int map_volume(const int volume)
if (vol > 100) if (vol > 100)
vol = 100; vol = 100;
#ifdef MARTII
vol = 64 - vol * 64 / 100;
#else
vol = 63 - vol * 63 / 100; vol = 63 - vol * 63 / 100;
#endif
return vol; return vol;
} }