Release for SDL3?
Hi!
Currently, the lack of SDL3_mixer is preventing some games to be ported to SDL3. It's been a while since SDL3 has been released, will there be an SDL3-compatible SDL_mixer any time soon?
SDL3_Mixer is still in the design phase. You can follow the progress, and give feedback, in https://github.com/libsdl-org/SDL_mixer/issues/662
(I'm going to keep this issue open and pin it to give it more visible)
A new design and API is nice. But in the meantime, would it be possible to have an SDL3-compatible SDL2_mixer, maybe?
SDL_mixer's current main branch can be built with SDL3. We have not created a release for this branch because we promise API and ABI compatibility: no breaking changes are allowed.
What I mean is: Can SDL2_mixer (with the SDL2_mixer API/ABI) be made to work with SDL3 so that the lack of SDL3_mixer does not prevent porting efforts to SDL3? Porting from SDL2_mixer to SDL3_mixer could then be done at a later time. But the current state is: Every project using SDL_mixer is currently unable to port to SDL3 for the lack of any SDL3 compatible SDL_mixer.
Actual work on the new api for SDL3_mixer is done in an external repo. So the api of the current (can't promise anything about the future) main branch is very similar to the SDL2_mixer api.
Ok, the new SDL3_mixer API has landed in main (and we'll do an official release of it once SDL 3.4.0 ships, since it relies on some SDL3 APIs that are new to that release).
If you need the previous API, we have created a sdl2-api-on-sdl3 branch in this repository, which gives you the old API but compatible with SDL3. That is not where development will be done in the future, but it might be helpful in the short term for apps that are in the process of migrating.
When trying the release scripts with the new SDL3_mixer main branch, I'm seeing these compile errors. Are these expected (because it uses SDL3 3.2.18, and not SDL3 3.3+)?
We should perhaps also bump SDL3_mixer to 3.1.0
When trying the release scripts with the new SDL3_mixer main branch, I'm seeing these compile errors. Are these expected (because it uses SDL3 3.2.18, and not SDL3 3.3+)?
Yes, SDL_mixer relies on the latest main code.
We should perhaps also bump SDL3_mixer to 3.1.0
Yes, that's a good idea.
Bumped to 3.1.0 in ce2abbd40ec49885e97aad7c0c4de827ed5198db.
Wow, that's great news! Is there already a rough timeline for the SDL 3.4 + SDL_mixer 3 release?
Wow, that's great news! Is there already a rough timeline for the SDL 3.4 + SDL_mixer 3 release?
There is still a lot of work to do until we have version 3.4. You can check the progress here: https://github.com/libsdl-org/SDL/milestone/18