Description of problem: Playing a MIDI file with SDL_mixer sounds awful. Version-Release number of selected component (if applicable): SDL_mixer-1.2.6-3.fc4.x86_64 How reproducible: Every time Steps to Reproduce: 1. Find a MIDI file. (E.g., install nethack-vultures. :-) 2.playmus /usr/games/vultureseye/music/nethack.mid Actual results: Very distorted sound Additional info: This happens only with the x86_64 build. Installing the same version of SDL_mixer (and its dependencies) from the i386 build of FE sounds fine! Timidity, x86_64 build, also sounds fine.
This one has bitten me in prboom as well. It's also a problem on FC-5 in version SDL_mixer-1.2.6-6.fc5.x86_64.
I'm not sure how I'm going to be able to fix this one, since I don't have an x86_64 machine to reproduce this. So, most likely a fix will need to come from upstream.
I filed a bug report upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=202
Created attachment 128072 [details] x86_64 typedef fix I found a simple fix. There is a bad 32-64 bit typedef in one of the timidity wrapper header files. I haven't tested this on i386, but it definitely fixes the problem on x86_64.
Thanks for the patch. I tested it on my i386 machines the last couple of day and didn't have any problems. New packages should be available with the next signing/push.