scummvm/audio
Robert Crossfield 1c73db207e AUDIO: Fix integer sign extension issue in RJP1 envelope scaling
Resolve an issue where the value was incorrectly treated as a signed integer during multiplication/division. This was causing fluctuations in volume, with levels varying up and down.

The original code reads the envelopeEnd(1 and 2) value as a byte, extends it to a word then ANDs it with 0x00FF before multiplying/dividing.
2024-03-21 08:58:13 +02:00
..
decoders COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
mods AUDIO: Fix integer sign extension issue in RJP1 envelope scaling 2024-03-21 08:58:13 +02:00
softsynth GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
soundfont COMMON: Remove use of fmin/fmax/fminf/fmaxf 2024-01-08 13:07:05 +01:00
adlib_ms.cpp COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
adlib_ms.h COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
adlib.cpp SCUMM: (IMS) - fix adlib detune for Samnmax 2024-03-17 02:09:23 +01:00
alsa_opl.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
audiostream.cpp AUDIO: Move API to Path 2023-12-24 13:19:25 +01:00
audiostream.h AUDIO: Move API to Path 2023-12-24 13:19:25 +01:00
casio.cpp AUDIO: Casio MIDI driver enhancements and fixes 2023-01-18 21:39:29 +01:00
casio.h AUDIO: Casio MIDI driver enhancements and fixes 2023-01-18 21:39:29 +01:00
cms.cpp AUDIO: Merge the DOSBoxCMS and CMSEmulator classes 2022-12-01 00:28:56 +02:00
cms.h AUDIO: Merge the DOSBoxCMS and CMSEmulator classes 2022-12-01 00:28:56 +02:00
fmopl.cpp AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
fmopl.h AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
mididrv_ms.cpp AUDIO: Move null MidiDriver remove timer proc 2022-05-09 17:19:43 +02:00
mididrv_ms.h AUDIO: Move null MidiDriver remove timer proc 2022-05-09 17:19:43 +02:00
mididrv.cpp COMMON: Fix memory leak in MidiDriver. PVS-Studio V773 2023-10-30 11:22:10 -07:00
mididrv.h SCUMM: (IMS) - improve parameter faders 2024-03-15 21:19:01 +01:00
midiparser_qt.cpp AUDIO: Move API to Path 2023-12-24 13:19:25 +01:00
midiparser_qt.h AUDIO: Move API to Path 2023-12-24 13:19:25 +01:00
midiparser_smf.cpp AUDIO: Generate note channel to track mapping for type 1 MIDI 2022-07-02 17:25:18 +02:00
midiparser_smf.h AUDIO: Generate note channel to track mapping for type 1 MIDI 2022-07-02 17:25:18 +02:00
midiparser_xmidi.cpp AUDIO: Move MIDI parser source handling to superclass 2022-05-09 17:19:43 +02:00
midiparser.cpp JANITORIAL: AUDIO: Correct Spelling Mistakes 2022-11-15 22:52:43 +02:00
midiparser.h ULTIMA/NUVIE: Rework music code 2023-11-09 18:19:25 +01:00
midiplayer.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
midiplayer.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
miles_adlib.cpp COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
miles_midi.cpp AUDIO: Move API to Path 2023-12-24 13:19:25 +01:00
miles.h AUDIO: Move API to Path 2023-12-24 13:19:25 +01:00
mixer_intern.h AUDIO: Add rate adjustment functionality to Mixer 2023-05-14 22:04:56 +02:00
mixer.cpp AUDIO: Drain leftover RateConverter buffer data 2023-08-16 20:41:58 +03:00
mixer.h AUDIO: Use inline member initialization in SoundHandle 2023-08-24 21:02:22 +03:00
module.mk AUDIO: Add libopenmpt support 2024-02-21 18:45:25 +01:00
mpu401.cpp SCUMM: (IMS) - minor restructuring and cleanup 2022-10-06 18:47:40 +02:00
mpu401.h AUDIO: add data size arg to MidiChannel::sysEx_customInstrument() 2022-10-06 18:47:47 +02:00
mt32gm.cpp AUDIO: Do not crash if MT32 driver is not fully initialized 2023-03-03 23:44:58 +01:00
mt32gm.h AUDIO: Small MIDI driver enhancements and fixes 2022-05-09 17:19:43 +02:00
musicplugin.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
musicplugin.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
null.cpp AUDIO: Avoid including translations.h in header file 2023-03-17 14:37:50 +01:00
null.h AUDIO: Avoid including translations.h in header file 2023-03-17 14:37:50 +01:00
opl2lpt.cpp AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
rate.cpp Revert "AUDIO: Optimize case for !inStereo && outStereo" 2023-11-21 15:01:14 +02:00
rate.h Revert "AUDIO: Optimize case for !inStereo && outStereo" 2023-11-21 15:01:14 +02:00
rwopl3.cpp AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
rwopl3.h AUDIO: Add support for RetroWave OPL3 2022-01-29 17:33:29 +01:00
timestamp.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
timestamp.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00