GNOME Bugzilla – Bug 112743
[PATCH] - monkeyaudio plugin does not work on big-endian systems
Last modified: 2004-12-22 21:47:04 UTC
The monkey's audio plugin fails to even load .ape files on big endian systems, since the monkey's audio SDK only supports little endian systems. Patches to make it work on big-endian systems to follow.
Created attachment 16446 [details] [review] Macro for little to big endian conversion
Created attachment 16447 [details] [review] Advertise host byte order capabilities (instead of just little-endian)
Created attachment 16448 [details] [review] Convert the APE header info (read from disk) from little-endian to host byte order
Created attachment 16449 [details] [review] Convert frame/bitarray data to host byte order
Audio plays correctly w/ these patches, although every 8 seconds or so, sound skips as the MA plugin thinks it has a CRC error, and resets the bit array. Once I figure out what's corrupting the CRC, I'll add the patch.
Ok, even if we are a bit unsure on what to do with MA atm I think these should be applied. I will try to get Jeremy (apoc) to review em.
I removed the Monkey's Audio plugin due to licensing issues. If that ever gets resolved, please reopen.