I noticed it first with data/music/pingus-1.it, which sounds all wrong. Reverting the change to pt_UpdateVoices() "fixes" it, but presumably re-introduces the bug that revision 3439 was supposed to fix. I'm afraid I don't have any ideas for how to fix it properly.
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.
On 2009-10-04 22:56:51 +0000, Sam Lantinga wrote:
Created attachment 396
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.
On 2009-10-04 23:56:49 +0000, Sam Lantinga wrote:
Created attachment 397
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.
The text was updated successfully, but these errors were encountered: