[Scummvm-tracker] [ScummVM :: Bugs] #7150: SCUMM/HE: Issues when playing multiple sound effects
ScummVM :: Bugs
trac at scummvm.org
Thu Nov 24 20:02:00 UTC 2022
#7150: SCUMM/HE: Issues when playing multiple sound effects
-------------------------------+----------------------------
Reporter: SF/somerandomhefan | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: | Game:
-------------------------------+----------------------------
Comment (by SomeRandomHEFan):
I've done some research using the debug log (debug level 5) and seem to
have uncovered precisely what it is that's giving ScummVM trouble. The
problem appears to be that it can't play the same sound effect on two
channels at once.
For example, older Junior Adventures (such as Spy Fox 1) handle the typing
sound effect when entering a save's name in a very simple way. They simply
play it through channel 1 every time. ScummVM can handle this just fine.
More recent Junior Adventures (such as Spy Fox 2 and 3) opt for a better
approach. If you enter two letters in quick succession, the second
instance of the sound effect will play on a different channel than the
first (these games generally seem to use channels 4 and 5 for this).
ScummVM can't handle this and fails to play the second instance entirely,
despite the debug log claiming it should have happened. It can only play
the typing sound effect again once the first instance is finished.
On a playthrough of Spy Fox 2, I took a look at the debug log whenever I
noticed a sound effect failing to play, and it always happened when the
debug log claimed the game was trying to play two instances of a sound
effect on channels 4 and 5. So this is likely the cause behind the whole
issue.
I hope this information suffices to get this fixed.
--
Ticket URL: <https://bugs.scummvm.org/ticket/7150#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list