After going to some trouble to get a working SDL_mixer 1.2 for linux x86 I
realised that if we're shipping our own libraries there's no real reason not to
use SDL2 instead for x86 too (currently we use SDL_mixer 1.2 on the dubious
theory that an obsolete 32-bit Linux is less likely to have SDL2 installed and
might have trouble with OpenGL). Also, linux x86 was the only place we were
stuck with libmikmod and smpeg (since they were the default in SDL_mixer 1.2
builds provided by distros). smpeg is so bad it's the reason we dropped MP3
support long ago. (With MP3 patents expiring mpg321 became an option.) We can
allow MP3s now. Should we make ogg recoding optional? In theory we could also
continue to disallow mp3 so that an mp3 decoder isn't needed, but dr_mp3 is so
small it doesn't matter.
Also there's a libxmp-lite which handles just .mod, .xm, .it, .s3m rather than
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).
libxmp-lite is about 120kB vs libxmp 560kB in Windows -O3 release builds (can
be reduced by compiling with -O2 or -Os instead) or by disabling some formats.
--
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208875155
You are receiving this because you are subscribed to this thread.
Message ID: <ohrrpgce/ohrrpgce/issues/1202/[email protected]>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org