Age | Commit message (Collapse) | Author |
|
|
|
|
|
(show_position, set_position)
|
|
|
|
|
|
|
|
|
|
KYRA: Fix MIDI fade-out behaviour
|
|
This should fix bug #3571139.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We really left sound gen leaked with preagi games.
|
|
There are two ways that the music volume may be set:
The setSourceVolume() specifies the current music volume, as
ScummVM sees it. This is stored in _sources[].volume.
The MIDI data itself can trigger volume events. These are handled
by send(), which stores the volume - usually (always?) 100 - in
_sources[_curSource].controllers[]. The volume is then adjusted
by _sources[].volume.
When music is faded out, setSourceVolume() is called repeatedly
with progressively smaller values for the volume. What it should
do, then, is to make sure that the volume is set to what was
previously set to in send(), adjusted to the fading volume.
At least, that's how I understand it.
|
|
|
|
|
|
CID 1004012
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This also fixes int->int32 in ScriptExtDate::transfer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
overload-misses.
|
|
|