Open ericoporto opened 5 days ago
The stable-1.0
branch has that already, and it can already be configured to build against SDL2.0 instead of SDL1.2.
The current main is already ported to SDL3, so going back to that sounds like a bad idea.
Plus all the other formats mostly works fine, it's just ogg that keeps giving issues.
The current main is already ported to SDL3,
Really? Where?
Here: https://github.com/Astrabit-ST/SDL3_sound
But other approach would be some plugin like way where I could override a decoder with one of my own or just add a decoder if I implement an API and if the file format matches an existing one then it would use my decoder instead of the built-in one.
It would be nice if it was possible to use libogg from Xiph instead of the internal ogg decoder to avoid the issues it currently has. This is similar to what is possible currently with SDL_Mixer.