<p></p>
<p dir="auto">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.</p>
<p dir="auto">Also there's a libxmp-lite which handles just .mod, .xm, .it, .s3m rather than all the <a href="https://github.com/libxmp/libxmp/blob/master/docs/formats.txt">formats</a> 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.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208875155">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZV22AVYOOJLWJMEIVDVYHHTLANCNFSM43UAP7UQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZQCBAAT4TUK3BBP3B3VYHHTLA5CNFSM43UAP7U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJAG7REY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1202/1208875155</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208875155",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208875155",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>