SDL_mixer
SDL_mixer copied to clipboard
More modern backend for SDL_Mixer
This bug report was migrated from our old Bugzilla tracker.
Reported in version: unspecified Reported for operating system, platform: All, All
Comments on the original bug report:
On 2018-04-09 23:44:01 +0000, RyanBram wrote:
Currently, sdl_mixer use some MIDI and Module playback library which have one or some of following drawback:
- Copyleft licensed;
- Too many dependencies;
- Too old or unmaintained;
- Have playback glitch.
I recommended SDL developer to look for alternative libraries, such as:
- TinySoundfont for MIDI
- libxmp_lite for IT, XM, MOD, and S3M
- MiniMP3 for MP3
TinySoundfont support would be fine, but still requires a sound font library. Feel free to add a PR that implements this, if the current MIDI support isn't sufficient for you.
We've switched to libmodplug for MOD support.
I just added support for MiniMP3, and switched to using that for MP3 support by default.
Thanks!
I just added support for MiniMP3, and switched to using that for MP3 support by default.
dr_mp3 would have been a better choice, maybe?
Yes, possibly. Let's look at that shortly.
sdl12-compat uses it, @icculus' SDL_sound uses it, it is pretty well proven.
Yep, I plan to swap it out for minimp3.