scummvm/engines/scumm
Andrea Boscarino c03787f8bb
SCUMM: DiMUSE: Fix possible buffer underruns
Big thanks to athrxx for reporting this issue; the previous calculation for obtaining an optimal number for _maxQueuedStreams did not account for the differences between the sample rate targeted by the audio backend and the one targeted by DiMUSE (which is 22050Hz). 

This new formula has been tested for optimal latency and absence of underruns for all supported games and all known combinations of sample rates and output buffer sizes:
[22050, 44100, 48000, 96000], [1024, 2048, 4096, 8192].
2022-03-06 21:58:40 +01:00
..
he SCUMM: Initial work on replacement audio tracks for Loom 2022-02-08 13:31:39 +01:00
imuse ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
imuse_digi SCUMM: DiMUSE: Fix possible buffer underruns 2022-03-06 21:58:40 +01:00
insane ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
players SCUMM: Fix CMS not playing a music midi track again 2022-01-10 12:13:16 +02:00
smush SCUMM: SMUSH: Stop channel handles when stopping a video 2022-02-27 23:56:47 +01:00
actor_he.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
actor.cpp SCUMM: Fix indentation 2022-02-25 07:17:20 +01:00
actor.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
akos.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
akos.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
base-costume.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
base-costume.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
bomp.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
bomp.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
boxes.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
boxes.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
camera.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
cdda.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
cdda.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
charset-fontdata.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
charset.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
charset.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
configure.engine SCUMM: HE: Mark Bink as engine dependency 2018-05-30 09:26:17 +02:00
costume.cpp SCUMM: Fix graphics glitch in TurboGrafx-16 version of Loom 2022-02-04 18:51:40 +01:00
costume.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
credits.pl CREDITS: Add myself to the SCUMM engine credits 2021-12-28 09:43:21 +02:00
cursor.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
debugger.cpp SCUMM: Fix debug print in DiMUSE debugger 2021-12-29 16:04:34 +01:00
debugger.h SCUMM: DiMUSE: Add debugger/audio player 2021-12-29 14:26:53 +01:00
detection_internal.h SCUMM: Reject the corrupted version of MONKEY1-EGA from Limited Run Games 2022-02-17 01:04:21 +02:00
detection_steam.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
detection_tables.h SCUMM: Add detection entry for Loom demos 2022-02-08 13:31:39 +01:00
detection.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
detection.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
dialogs.cpp SCUMM: Adjust slider range for Loom overture timing 2022-03-01 14:53:06 +01:00
dialogs.h SCUMM: Add setting for the Loom Overture tempo on the Engine tab 2022-02-08 13:31:39 +01:00
file_nes.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
file_nes.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
file.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
file.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
gfx_mac.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
gfx_towns.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
gfx.cpp SCUMM: Use 8x8 dissolve effect for TurboGrafx-16 Loom 2022-02-04 14:01:30 +01:00
gfx.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
gfxARM.s ALL: Update license in ARM assembly files too 2021-12-26 19:02:46 +01:00
help.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
help.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
input.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ks_check.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ks_check.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
metaengine.cpp SCUMM: Don't show the Overture setting for VGA Loom 2022-02-08 13:31:39 +01:00
metaengine.h SCUMM: Add setting for the Loom Overture tempo on the Engine tab 2022-02-08 13:31:39 +01:00
midiparser_ro.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
module.mk SCUMM: DiMUSE: New Digital iMUSE Engine (#3368) 2021-11-16 00:05:18 +01:00
music.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
nut_renderer.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
nut_renderer.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
object.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
object.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
obsolete.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
palette.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
POTFILES SCUMM: Update POTFILES 2022-02-23 09:28:41 +00:00
proc3ARM.s ALL: Update license in ARM assembly files too 2021-12-26 19:02:46 +01:00
resource_v2.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
resource_v3.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
resource_v4.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
resource.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
resource.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
room.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
saveload.cpp SCUMM: Fix missing cursor in Mac Indy 3 and Loom after loading 2022-01-24 16:08:48 +01:00
script_v0.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script_v2.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script_v3.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script_v4.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script_v5.cpp SCUMM: Work around timing bug when Mandible uses distaff in VGA Loom 2022-03-05 20:01:05 +02:00
script_v6.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script_v8.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
script.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v0.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v2.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v3.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v4.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v5.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v6.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v7.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm_v8.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
scumm-md5.h SCUMM: Add detection entry for Loom demos 2022-02-08 13:31:39 +01:00
scumm.cpp SCUMM: Improve Loom Overture timing with replacement music 2022-02-11 12:21:29 +01:00
scumm.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
sound.cpp SCUMM: Improve Loom Overture timing with replacement music 2022-02-11 12:21:29 +01:00
sound.h SCUMM: Improve Loom Overture timing with replacement music 2022-02-11 12:21:29 +01:00
string.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
usage_bits.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
usage_bits.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
util.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
util.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
vars.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
verbs.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
verbs.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00