> all the
> [formats](https://github.com/libxmp/libxmp/blob/master/docs/formats.txt)
> supported by libxmp (I don't know if SDL_mixer allows playing them though).
Looking at SDL_mixer's source, it's a bit convoluted... but basically it first
looks at the file extension to figure out which decoder to use, and it has a
long list of module file extensions, but if it doesn't recognise the extension
it checks the file header, and if it doesn't recognise that either it assumes
module anyway and tries each of its module playback libraries. libxmp[-lite]
apparently doesn't look at the file extension at all, it also tries each of its
loaders until one recognises the header.
According to feedback so far, libxmp is no worse than libmodplug. Also
apparently libmodplug is notorious for security issues, so that Ubuntu actually
replaced it with a modplug compatibility layer over libopenmpt (which is a
really big library).
I asked in Discord whether anyone wanted support for any of those other formats
and there wasn't much interest. It's OpenMPT's .mptm which everyone wants but
which libxmp doesn't support.
--
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1210110059
You are receiving this because you are subscribed to this thread.
Message ID: <ohrrpgce/ohrrpgce/issues/1202/1210110...@github.com>
_______________________________________________
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org