aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-03-10 09:24:50 +0000
committerTorbjörn Andersson2006-03-10 09:24:50 +0000
commit95196056bd258d78f31ecb720117bb6a0973331c (patch)
tree44304209b58abc7fb66e8db762300fe0022e4ed1 /sound
parent8a9286ce53e27bc6a9cb1b6a461f3d9d1d778c05 (diff)
downloadscummvm-rg350-95196056bd258d78f31ecb720117bb6a0973331c.tar.gz
scummvm-rg350-95196056bd258d78f31ecb720117bb6a0973331c.tar.bz2
scummvm-rg350-95196056bd258d78f31ecb720117bb6a0973331c.zip
The calculateLowByte1() and 2() functions are used for calculating the "total
level", which I believe is the individual channel volume. (The functions also return the "scaling level" bits, but they are preserved, not calculated.) I have renamed these functions calculateOpLevel1() and 2(). The unk25 and unk26 variables have been renamed opLevel1 and opLevel2. These are called oplvl_1 and oplvl_2 in our MidiDriver_ADLIB class. The unk26, unk27 and unk28 variables are potentially added to both operator levels, and have been renamed opExtraLevel1, opExtralevel2 and opExtraLevel3. The updateCallback25() function has been remamed update_setExtraLevel1(). The updateCallback33() function has been renamed update_setExtraLevel2(). The updateCallback32() function has been renamed update_setExtraLevel3(). Note that these callbacks aren't quite as similar as their names would seem to indicate: They differ in whether or not the volume is updated and/or how the parameters are passed. svn-id: r21199
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions