diff options
author | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-11 03:07:01 +0000 |
---|---|---|
committer | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-11 03:07:01 +0000 |
commit | 35d096244484436649fc973a4698a33badd0c693 (patch) | |
tree | f4264aa7f2febcb84cec7c0275911b274f7f17ad /tremor/registry.h | |
parent | 8572f14094cf62da9bb6d89dbcc3a7a23a66c06b (diff) |
DirectSound's GetVolume and SetVolume use 100ths of decibels and range from -10,000 to 0.
MPlayer uses a linear intensity value between 0.0 and 100.0.
This patch converts the values properly rather than simply linearly mapping the range.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16973 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'tremor/registry.h')
0 files changed, 0 insertions, 0 deletions