Opened 19 months ago
Closed 18 months ago
#14373 closed defect (fixed)
AGS: The Cat Lady: Missing ticking sound on intro sequence (clock "seconds" sound).
Reported by: | antoniou79 | Owned by: | tag2015 |
---|---|---|---|
Priority: | normal | Component: | Engine: AGS |
Version: | Keywords: | The Cat Lady, sound effect, missing, SFX | |
Cc: | Game: |
Description
This is on ScummVM 2.8git, built from current master HEAD, on Windows 10 x64 for the Steam version of The Cat Lady (English).
When starting a new game, early on during the intro sequence, there is a scene showing part of a clock with a cat's tail counting the seconds while moving left and right.
If the game is run from Steam, then there's a repeating ticking sound effect playing at each "second" of the clock.
From ScummVM, this sound effect is missing, ie. not playing. Other sound effects, voices and music seem to be playing fine though. For example, after a few seconds, there's another slightly different tick sfx marking the passing of a "minute". This sfx plays on ScummVM too.
There's no perinent error message output in the background console as far as I can tell.
Change History (6)
comment:1 by , 19 months ago
Game: | TeenAgent |
---|
comment:2 by , 19 months ago
comment:3 by , 19 months ago
This is an upstream bug. The culprit is commit 9619169
(upstream 90a60ff)
Volume is clamped to 0-100, but if the value is negative (which originally meant "don't override volume value") it causes it to silence the sample. It also affects other games besides "The Cat Lady".
Checking if volume is >=0 before clamping is enough to fix the issue, but maybe volume should be prevented to go negative in the first place.
I'll open a bugreport on the AGS tracker
comment:5 by , 18 months ago
This was a really small change, so I pushed now the upstream fix
150df39
comment:6 by , 18 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
From some debugging, I think I have figured which audio clip it is supposed to play, but not why it does not.
It seems it's a audio clip of type "3", scriptName "aSound55" and filename "au000049.wav".
It's supposed to play with default priority (50), non-looping -- it's called to play explicitly at each clock's "second".
The functions that are involved in the setup of playing this clip seem to return normal values, ie. non nullptr.
Also might be of help(?) The game's "Data version" is detected as 49 < kGameVersion_360.
Here's the entire output on the background console:
The "WARNING: channel 2 - same clip assigned" happens before I click on "New Game" so it seems unrelated to the issue.