diff options
author | Torbjörn Andersson | 2004-01-14 08:06:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-01-14 08:06:56 +0000 |
commit | b17d77eae9a90a160727935eabdca162823cdc10 (patch) | |
tree | d12e6085d2d1f48b396a2d2477d6ded43b692d77 /sword1 | |
parent | 4746920c74887c9fff9910e6d39881db3879dd52 (diff) | |
download | scummvm-rg350-b17d77eae9a90a160727935eabdca162823cdc10.tar.gz scummvm-rg350-b17d77eae9a90a160727935eabdca162823cdc10.tar.bz2 scummvm-rg350-b17d77eae9a90a160727935eabdca162823cdc10.zip |
Changed the music fading so that volume is increased when ABS(_fading)
grows larger, both when fading up or down. This fixes the problem where the
volume would "jump" when changing the fading "direction" of a stream.
Also changed the logic for deciding which music stream to stop if both
streams are playing and a third stream is started. Before it always tried
to pick the one that was fading down. Now it will pick the one with the
lowest volume, assuming that the more faded a stream is the lower its
volume.
Together, this should fix some abrupt music changes at the watchman's hut,
where it would sometimes start two music streams in rapid succession.
svn-id: r12372
Diffstat (limited to 'sword1')
0 files changed, 0 insertions, 0 deletions