[Scummvm-tracker] [ScummVM :: Bugs] #15724: SCUMM: Sam and Max: Speech garbled and extremely slowed down

ScummVM :: Bugs trac at scummvm.org
Tue Feb 4 19:38:23 UTC 2025


#15724: SCUMM: Sam and Max: Speech garbled and extremely slowed down
--------------------------+----------------------------
Reporter:  raziel-        |       Owner:  (none)
    Type:  defect         |      Status:  new
Priority:  normal         |   Component:  Engine: SCUMM
 Version:                 |  Resolution:
Keywords:  speech, audio  |        Game:  Sam and Max
--------------------------+----------------------------
Comment (by NMIError):

 In [changeset:"fb7e7539d4ba735ea5ad30e189a6380d4874667e" fb7e7539]:
 {{{#!CommitTicketReference repository=""
 revision="fb7e7539d4ba735ea5ad30e189a6380d4874667e"
 SCUMM: Fix excessive MIDI messages

 The code for reducing music volume levels during speech was sending out
 volume
 change messages every MIDI timer tick, regardless of whether the volume
 had
 actually changed. This caused problems for older MIDI hardware, which can
 only
 process a limited number of MIDI events in a given time period.

 Fixed this by checking if any of the volume levels set by
 musicVolumeReduction
 has actually changed before calling update_volumes. Looking at the MIDI
 output
 of the original interpreter, this also seems a better match to the
 original
 behavior.

 This fixes issue #15724.
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15724#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list