| Summary: | r3439 seems to have broken the Pingus music | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Torbjörn Andersson <eriktorbjorn> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: |
MOD which sounds wrong with Brandon's patch
Patch for libmikmod fixing both this bug and Brandon's crash |
||
|
Description
Torbjörn Andersson
2007-10-21 07:29:24 UTC
I upgraded libmikmod to version 3.1.12 and reverted the patch which caused this bug, which was fixing the following bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422021 I've sent e-mail to Brandon, who submitted that patch to see if his bug is fixed by the libmikmod upgrade. Brandon wrote back with more information on the debian bug: The newest version of libmikmod still has the bug I reported and made a patch for. http://sourceforge.net/tracker/?func=detail&aid=1630158&group_id=40531&atid=428227 So if you upgraded libmikmod, and removed my patch, then SDL-mixer would most likely again suffer from this bug. I would be happy to help you out. I need to know which libraries I need for the above functions. If you want to try to duplicate this yourself: 1) download and build an older version of penguin command: http://prdownloads.sourceforge.net/penguin-command/penguin-command-1.6.10.tar.gz 2) run penguin command with the SDL mixer library you want to test It should segfault 1/4 times on boot. Specifically, whenever pennight.mod plays, it should segfault. If you were to continue to play the game, then eventually it should segfault when the music eventually transitions to pennight.mod. Created attachment 396 [details]
MOD which sounds wrong with Brandon's patch
I verified that this MOD will not sound correct if Brandon's patch is applied. The pf->numchn is set to 8, but by the end of the song there are 41 voices playing.
Created attachment 397 [details]
Patch for libmikmod fixing both this bug and Brandon's crash
Okay, I tracked down the issue and have a patch for libmikmod that solves both this bug and the crash Brandon was trying to fix.
|