diff options
author | Max Horn | 2005-02-06 20:35:06 +0000 |
---|---|---|
committer | Max Horn | 2005-02-06 20:35:06 +0000 |
commit | cda823ea63243df943daac5b2ee35e86fe43856c (patch) | |
tree | ae2fb7e1262d7c76dcae1a42f079d4f315eae407 /sound/mixer.cpp | |
parent | 86370fa544a0fad0d45dc938b2986c0e80add289 (diff) | |
download | scummvm-rg350-cda823ea63243df943daac5b2ee35e86fe43856c.tar.gz scummvm-rg350-cda823ea63243df943daac5b2ee35e86fe43856c.tar.bz2 scummvm-rg350-cda823ea63243df943daac5b2ee35e86fe43856c.zip |
It's kMaxMixerVolume, not 256 (we might change it to 255 eventually)
svn-id: r16747
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r-- | sound/mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index cc74c74589..78a2e9f7dd 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -480,7 +480,7 @@ void Channel::mix(int16 *data, uint len) { // slightly odd divisor: the 255 reflects the fact that the maximal // value for _volume is 255, while the 127 is there because the // balance value ranges from -127 to 127. The mixer (music/sound) - // volume is in the range 0 - 256. + // volume is in the range 0 - kMaxMixerVolume. // Hence, the vol_l/vol_r values will be in that range, too int vol = _mixer->getVolumeForSoundType(_type) * _volume; |