diff options
author | Sven Hesse | 2012-06-11 14:59:12 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-11 15:10:59 +0200 |
commit | f538b7658684aad26a38b2e3685a322ecc14a720 (patch) | |
tree | bd9b2a240aa3c8ee92f870602d1544f5954939c7 /engines/gob/sound/adlib.h | |
parent | b812ed50c8f6d9a24b607831a88a398730458d9a (diff) | |
download | scummvm-rg350-f538b7658684aad26a38b2e3685a322ecc14a720.tar.gz scummvm-rg350-f538b7658684aad26a38b2e3685a322ecc14a720.tar.bz2 scummvm-rg350-f538b7658684aad26a38b2e3685a322ecc14a720.zip |
GOB: Don't recalculate the AdLib frequencies table on every player reset
Diffstat (limited to 'engines/gob/sound/adlib.h')
-rw-r--r-- | engines/gob/sound/adlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/sound/adlib.h b/engines/gob/sound/adlib.h index 17ab950752..bd1778d2ed 100644 --- a/engines/gob/sound/adlib.h +++ b/engines/gob/sound/adlib.h @@ -295,6 +295,7 @@ private: void initFreqs(); void setFreqs(uint16 *freqs, int32 num, int32 denom); int32 calcFreq(int32 deltaDemiToneNum, int32 deltaDemiToneDenom); + void resetFreqs(); void changePitch(uint8 voice, uint16 pitchBend); |