#14470 closed defect (fixed)

SCUMM: MANIAC (Amiga): Continuous looping sound when choosing first character

Reported by: gabberhead Owned by: AndywinXp
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Maniac Mansion

Description

right at the beginning, when choosing a first character, the sound continous loops and dont stop. testet with the amiga version and the daily builts from yesterday and today. perhaps other versions are affected as well.
with the stable 2.7.0 version, it works like it should.

Change History (9)

comment:2 by gabberhead, 18 months ago

i tested the german dos v2 version. the dos version dont have this problem.

comment:3 by athrxx, 18 months ago

It seems to be a problem in the mod player (player_mod.cpp, line 180). That player is used in the Amiga version only.

comment:4 by AndywinXp, 18 months ago

Changing it like suggested (_mixpos += len;) fixes the issue, but I wonder why it worked fine before and if there's a bit more to it

comment:5 by athrxx, 18 months ago

If you look at the code, you can see that the existing version will make the call to the callback function only for certain buffer lenghts (which are passed as an argument to the function from the common mixer coder). Only the incrementation of _mixpos will ensure that the callback is invoked ad proper intervals. My guess is that the mixer PR changed the buffer sizes, so that the bug is no longer disguised. But I am not the author of that mod player, so what do I know... :-)

Version 0, edited 18 months ago by athrxx (next)

comment:6 by AndywinXp, 18 months ago

Oof, that explains it, thanks :-)

comment:7 by AndywinXp, 17 months ago

Owner: set to AndywinXp
Resolution: fixed
Status: newpending
Summary: Maniac Mansion - amiga version - continous looping sound when choosing first characterSCUMM: MANIAC (Amiga): Continuous looping sound when choosing first character

Could you please confirm that the issue is now fixed with the current daily?

comment:8 by gabberhead, 17 months ago

yes. it is fixed :)

comment:9 by AndywinXp, 17 months ago

Status: pendingclosed

Thanks :) Closing!

Note: See TracTickets for help on using tickets.