a lot of linux developers can relate to the dependencies and runtime issues.
for SDL_Mixer in particular those can be 10 or so, mostly because of the decoders.
but i think the only sane way to deploy a linux package (e.g. a game) would be to bundle every single library and dependency when building with RPATH if such are LGPLed or simply static link when possible.
i’m not sure you do the RPATH similar solution, but i’m sure you already do static linking.
i correspond with linux involved figures and they are now doing that as they are not really happy what has become of the linux ecosystem…and also Steam is doing it TMK.
ideally not a single not-so-common library should be fetched from the OS on runtime.
the best thing about SDL is that it’s open source and bug fixes can be pushed upstream.
but SDL_Mixer in particular is the most buggy library, they say…
i think it should be supported now.
overall the MP3 licensing as a whole is quite bad. it’s so bad that i think that game developers should consult a lawyer before using MP3 for their game :). for MP3, SDL_Mixer now uses SMPEG, which is LGPL and doesn’t play all MP3 i throw at it, but at least it’s something.
i would give it a shot, but i don’t think the performance would be that better.
they do advertise now SDL2 as a good solution for Android and iOS, but i don’t know if BlackBerry, Tizen are supported.
i think the worst thing about SDL_Mixer API wise is the Sound / Music separation. that’s mainly because of how some of the decoders work (e.g. those that were the reason for this thread - modplug etc.) and that’s why only a single Music instance can play at a time, which i think is not what an OpenFL user will expect at first.
a great solution here would have been if all libraries can decode in memory to PCM on “load time” and that stream can then be played by an unified mixer / channel API like flash does.
also, just to note i would love to contribute as i like the multiplatform challenge OpenFL is taking a lot, but my free time is usually very limited. perhaps eventually…
EDIT: fixed typos