[Scummvm-tracker] [ScummVM :: Bugs] #17223: EEM: EEM1: "Pops" at the end of every sound in the Macintosh version
ScummVM :: Bugs
trac at scummvm.org
Wed Sep 23 14:32:31 UTC 2026
#17223: EEM: EEM1: "Pops" at the end of every sound in the Macintosh version
-------------------------+----------------------------------
Reporter: eriktorbjorn | Owner: neuromancer
Type: defect | Status: new
Priority: normal | Component: Engine: EEM
Version: | Resolution:
Keywords: | Game: Eagle Eye Mysteries
-------------------------+----------------------------------
Comment (by eriktorbjorn):
All I know is that the end-of-the-sound "pops" go away if I apply this
horrible patch:
{{{
diff --git a/audio/decoders/mac_snd.cpp b/audio/decoders/mac_snd.cpp
index 233a0e4e62d..520dba6d8ed 100644
--- a/audio/decoders/mac_snd.cpp
+++ b/audio/decoders/mac_snd.cpp
@@ -84,7 +84,7 @@ SeekableAudioStream
*makeMacSndStream(Common::SeekableReadStream *stream,
stream->seek(soundHeaderOffset);
uint32 soundDataOffset = stream->readUint32BE();
- uint32 size = stream->readUint32BE();
+ uint32 size = stream->readUint32BE() - 1;
uint16 rate = stream->readUint32BE() >> 16; // Really fixed point,
but we only support integer rates
stream->readUint32BE(); // loop start
stream->readUint32BE(); // loop end
}}}
But I need to check if the sound resources actually end with a 0 byte or
not, and I can't easily do that on this computer.
--
Ticket URL: <https://bugs.scummvm.org/ticket/17223#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list