[Scummvm-tracker] [ScummVM :: Bugs] #13555: LSL6HIRES: Door close sound plays at wrong moment

ScummVM :: Bugs trac at scummvm.org
Wed Jun 8 19:49:19 UTC 2022


#13555: LSL6HIRES: Door close sound plays at wrong moment
---------------------+-----------------------------------
Reporter:  RayKoopa  |       Owner:  (none)
    Type:  defect    |      Status:  new
Priority:  normal    |   Component:  Engine: SCI
 Version:            |  Resolution:
Keywords:  sound     |        Game:  Leisure Suit Larry 6
---------------------+-----------------------------------
Comment (by sluicebox):

 Interesting, I don't know why this works in the original. The scripts
 pause the door-close sound immediately after playing it. Completing speech
 audio resumes paused sounds. Why does the door sound not pause in the
 original?

 When entering mud bath (room 400) from the steam room (370) or the shock
 room (380):

 1. The door closes in handsOff mode
 2. Sound 33 plays with a Sound:flags value of 0
 3. LSL6:handsOn is immediately called
 4. LSL6:handsOn pauses all sounds that don't have flag $0001 set

 Most sound objects in this game set flag $0001, the no-pause flag. Or,
 scenes are programmed like the entrance from the shower which waits on
 sound 33 to complete before calling handsOn.

 That's why you can hear sound 33 briefly play and quickly stop. The
 background bubbles sound also pauses. In the original, only the bubbles
 pause. Maybe there's a timing thing where pausing doesn't work if the
 sample has just been queued to start? Or maybe a sample can't be
 interrupted with a pause at all? (The bubbles loop and aren't a sample)

 I can eventually do some script-patch experiments to test some of these
 theories in the original.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13555#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list