[Scummvm-git-logs] scummvm master -> bc33e51f4635dc9658fb03bb0506d404ff3c9e81
AndywinXp
noreply at scummvm.org
Sat Aug 26 09:32:40 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bc33e51f46 SCUMM: HE (Sound): Fix audio override beginning for Miles Audio games
Commit: bc33e51f4635dc9658fb03bb0506d404ff3c9e81
https://github.com/scummvm/scummvm/commit/bc33e51f4635dc9658fb03bb0506d404ff3c9e81
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-08-26T11:32:26+02:00
Commit Message:
SCUMM: HE (Sound): Fix audio override beginning for Miles Audio games
Having used the same logic as sound effects, I forgot to remove the
offset handling, which has a different meaning between music and sfx.
Changed paths:
engines/scumm/he/mixer_he.cpp
diff --git a/engines/scumm/he/mixer_he.cpp b/engines/scumm/he/mixer_he.cpp
index 98090f8a365..a26dbaf047f 100644
--- a/engines/scumm/he/mixer_he.cpp
+++ b/engines/scumm/he/mixer_he.cpp
@@ -846,8 +846,6 @@ void HEMixer::milesStartSpoolingChannel(int channel, const char *filename, long
} else {
int scaledPan = (modifiers.pan != 64) ? 2 * modifiers.pan - 127 : 0;
int newFrequency = (_milesChannels[channel]._baseFrequency * modifiers.frequencyShift) / HSND_SOUND_FREQ_BASE;
- int msOffset = (offset * 1000) / newFrequency;
- audioOverride->seek(msOffset);
_mixer->playStream(
Audio::Mixer::kMusicSoundType,
More information about the Scummvm-git-logs
mailing list