[Scummvm-tracker] [ScummVM :: Bugs] #16584: NANCY: nancy6+: Some sounds are too short
ScummVM :: Bugs
trac at scummvm.org
Mon Mar 2 01:56:13 UTC 2026
#16584: NANCY: nancy6+: Some sounds are too short
---------------------+----------------------------
Reporter: flipkick | Owner: flipkick
Type: defect | Status: pending
Priority: normal | Component: Engine: Nancy
Version: | Resolution: pending
Keywords: | Game:
---------------------+----------------------------
Changes (by flipkick):
* owner: (none) => flipkick
* resolution: => pending
* status: new => pending
Comment:
I figured out that the ScummVM vorbis path cuts off part of the sound at
the beginning. The decoder uses libvorbis which decodes from the stream's
PCM start position. For some reason the nancy vorbis format sometimes has
a PCM start position not at the beginning of the file. vorbis spec allows
this. So, the decoder plays the sound starting from there and not from the
actual beginning of the raw audio data. I analyzed the original nancy
Game.exe code on how it handles the HIS files which contain the vorbis
audio. It actually completely ignores the PCM data and always reads the
audio data from raw position 0. That's why the ScummVM decoder cuts off a
part of the beginning of many samples.
--
Ticket URL: <https://bugs.scummvm.org/ticket/16584#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list