Description of problem: When playing any midi files, it just generates static noise. Version-Release number of selected component (if applicable): wildmidi-0.2.2-4.fc9.ppc.rpm How reproducible: Play a .mid file Steps to Reproduce: 1. Play .mid file 2. 3. Actual results: Audio output is like static noise Expected results: The .mid should play correctly. Additional info: See attached patch.
Created attachment 311100 [details] Fix audio on big endian archs If you look at the patch it seems counter intuitive at first, because it sets SND_PCM_FORMAT_S16_LE and this fixes the audio on big endian archs but I think it's related to the byte order of how the sample data is represented internally by wildmidi vs the byteorder the sound device is expecting when opened. When SND_PCM_FORMAT_S16 is used (on BE archs) it either causes the sample data to be byteswapped when it shouldn't be, or not byteswapped when it should be. Sorry if the explanation is as clear as mud! :( Anyway, this patch may not be the best solution but wildmidi works correctly on this ppc machine with it applied and it should still work for LE archs.
wildmidi-0.2.2-5.fc9 has been submitted as an update for Fedora 9
wildmidi-0.2.2-5.fc8 has been submitted as an update for Fedora 8
wildmidi-0.2.2-5.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
wildmidi-0.2.2-5.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.