mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-01 14:15:16 +02:00
Correct the comment explaining the -35 dB scale
This commit is contained in:
parent
9a3cfb7e96
commit
96c234fe4c
1 changed files with 4 additions and 3 deletions
|
@ -172,9 +172,10 @@ namespace Source
|
||||||
inline void setVolume(Source::ID id, float value)
|
inline void setVolume(Source::ID id, float value)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* RPG Maker uses a -35 decibel scale for volume. 100% volume is -0.35 dB, 99%
|
* RPG Maker uses a -35 decibel scale for volume. 100% volume is 0 dB, 99%
|
||||||
* volume is -0.7 dB, 98% volume is -1.05 dB and so on. 0% volume is an
|
* volume is -0.35 dB, 98% volume is -0.7 dB, 97% volume is -1.05 dB and so
|
||||||
* exception - the scale is hardcoded to be silent at 0% volume.
|
* on. 0% volume is an exception - the scale is hardcoded to be silent at 0%
|
||||||
|
* volume.
|
||||||
*
|
*
|
||||||
* This was deduced by running an RPG Maker XP game in Wine and attaching
|
* This was deduced by running an RPG Maker XP game in Wine and attaching
|
||||||
* winedbg to the game, with a breakpoint set in the
|
* winedbg to the game, with a breakpoint set in the
|
||||||
|
|
Loading…
Add table
Reference in a new issue