SDL3 and ubuntu 25.04

I’m just starting to try it out with doker. Then I noticed that SDL3 has already made it into Ubuntu.

I simply tried apt install libsdl3-dev and was quite surprised, as I hadn’t expected it at all.

I also tried apt install libsdl3-ttf-dev and apt install libsdl3-image-dev

rtf, mixer, and net don’t work (yet).

That’s great!

It looks like it is not available yet in Ubuntu 24.04.2 LTS as of today, but I look foreword to it when I do my next full distro-upgrade.

I see that there is current work being done in the SDL_Mixer github library, so I guess that will be packaged soon. Keep an eye out for Slouken posting something like: “Announcing SDL_Mixer 3 Official Release”.

1 Like

It’s in Ubuntu 25.04, not 24.04. It seems this is an Ubuntu that’s always up to date.

I see that there is current work being done in the SDL_Mixer github library, so I guess that will be packaged soon. Keep an eye out for Slouken posting something like: “Announcing SDL_Mixer 3 Official Release”.

That would be great, then all the important packages would be ready. SDL_net and SDL_rtf aren’t that important.

Sorry, I really did think that Mixer would be released within hours or days of the post above.
I was wrong.

While the original version available on SDL’s Github can be built against SDL3 as a temporary fix, it looks like some major API/ABI changes are happening before Mixer 3 is ready for an official release.

We’re making really good progress on the SDL3_mixer redesign, though, so hopefully you’ll all be enjoying it soon!

What I miss about the current SDL_mixer is that you only have one audio track with full functionality. For example, Duration and SetPosition are only available for one track.

For example, Duration and SetPosition are only available for one track.

Those both work with individual tracks (what it calls “channels”) in SDL2_mixer…?

But a definite limitation of SDL2_mixer is that you have as many “chunks” (predecoded PCM data) as you want, but only one “music” (streaming, possibly compressed) channel. This limitation is gone in SDL3_mixer.

1 Like

I wanted to create a media player with overlap using SDL_mixer, but unfortunately that didn’t work, so I switched to gstreamer.