SDL_mixer icon indicating copy to clipboard operation
SDL_mixer copied to clipboard

More modern backend for SDL_Mixer

Open SDLBugzilla opened this issue 4 years ago • 5 comments

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:

  1. TinySoundfont for MIDI
  2. libxmp_lite for IT, XM, MOD, and S3M
  3. MiniMP3 for MP3

SDLBugzilla avatar Feb 11 '21 05:02 SDLBugzilla

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!

slouken avatar May 20 '22 21:05 slouken

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?

sezero avatar May 20 '22 21:05 sezero

Yes, possibly. Let's look at that shortly.

slouken avatar May 20 '22 22:05 slouken

sdl12-compat uses it, @icculus' SDL_sound uses it, it is pretty well proven.

sezero avatar May 20 '22 23:05 sezero

Yep, I plan to swap it out for minimp3.

slouken avatar May 21 '22 00:05 slouken